Skip to content

sudovazid/everyday-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daily Usage Scripts 🛠️

A collection of useful Python and Bash scripts for everyday tasks, system maintenance, and security monitoring and more. These scripts are designed to automate common tasks and improve workflow efficiency.

Table of Contents

Features

  • 🎥 YouTube video/audio downloader with format selection
  • 🔄 System update automation for multiple package managers
  • 🔒 Security breach monitoring and notification system
  • 🧹 System cleanup and maintenance utilities -✨ Upcoming soon

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/daily-usage-scripts.git
cd daily-usage-scripts
  1. Install required dependencies:
pip install -r requirements.txt

Scripts Overview

1. YouTube Downloader (yt_downloader.sh)

Downloads videos and audio from YouTube with custom quality settings.

Key Features:

  • Support for both video and audio downloads
  • Quality selection (4K, 1080p, 720p, etc.)
  • Playlist support
  • Custom output directory
  • Progress bar and download status

2. System Update Script (system_update.sh)

Automates system updates across different package managers.

Key Features:

  • Support for apt, yum, pacman, and brew
  • Automatic cache cleanup
  • Update logging
  • Error handling and reporting
  • Optional automatic reboot

3. Security Breach Monitor (security_monitor.py)

Monitors system and network for potential security breaches.

Key Features:

  • Real-time log monitoring
  • Failed login attempt detection
  • Port scanning detection
  • Email notifications for suspicious activities
  • Daily security reports
  • Integration with common security tools

4. System Cleanup (system_cleanup.py)

Maintains system health by cleaning unwanted files and optimizing storage.

Key Features:

  • Temporary file cleanup
  • Package cache cleanup
  • Old log removal
  • Duplicate file detection
  • Disk space analysis
  • Configurable cleanup rules

Usage

YouTube Downloader

bash yt_downloader.sh

System Update

bash system_update.sh

Security Monitor

python security_monitor.py --email [email protected] --sensitivity high

System Cleanup

python system_cleanup.py --deep-clean --preserve-days 30

Requirements

  • bash
  • Python 3.8 or higher
  • Operating System: Linux, macOS, or Windows

Project Structure

everyday-scripts/
├── scripts/
│   ├── yt_downloader.py
│   ├── system_update.py
│   ├── security_monitor.py
│   └── system_cleanup.py
├── config/
│   └── config.yaml
├── logs/
│   └── script_logs.log
├── tests/
│   └── test_scripts.py
├── requirements.txt
└── README.md

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Acknowledgments

  • pytube for YouTube download functionality
  • Various system administration tools and utilities
  • Open source security monitoring tools

⭐ Found this project useful? Please star it on GitHub! ⭐

About

Python and Bash scripts for everyday tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages