A collection of powerful bash scripts to manage your system configuration, browser sessions, and development environment.
-
🦊 Firefox Profile Management
- Bookmarks and history
- Saved passwords and login information
- Browser preferences and session data
- Cookies and site permissions
-
🔧 System Configuration
.configdirectory backup- VSCode settings and extensions
- SSH configuration (with proper permissions)
-
💾 Git Integration
- Automatic version control
- Timestamped commits
- Remote repository sync
-
🖥️ Workspace Initialization
- One-command system restore
- Automated Firefox launch with pinned tabs
- Background process management
- Clone the repository:
git clone https://github.com/star-small/scripts.git
cd scripts- Make scripts executable:
chmod +x save.sh load.sh init.sh- Configure repository path:
Edit
REPO_DIRin scripts to point to your desired backup location.
./save.sh- Creates timestamped backups
- Commits changes to git
- Pushes to remote repository
./load.sh- Restores Firefox profile
- Restores system configurations
- Sets up SSH with proper permissions
./init.sh- Loads your system configuration
- Launches Firefox in background with pinned tabs:
- Alem School Platform
- Progress Tracker
- Moodle
- YouTube
- Pomodoro Timer
backup/
├── firefox/ # Firefox profile data
├── config/ # System configuration
│ └── .ssh/ # SSH keys and config
└── vscode/ # VSCode settings
- Proper SSH key permissions (600 for private keys)
- Secure directory permissions
- Git-ignored sensitive files
- WAL file handling
Edit init.sh and add URLs to the URLS array:
URLS=(
"https://your-url.com"
# Add more URLs here
)Edit the directory variables in each script:
REPO_DIR="your/backup/location"- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by star-small