{"id":17783332,"url":"https://github.com/stucodegreen/.debian-setup","last_synced_at":"2026-05-05T21:35:57.777Z","repository":{"id":258018784,"uuid":"868544784","full_name":"StuCodeGreen/.debian-setup","owner":"StuCodeGreen","description":"Easily set up and restore your Debian development environment with this automation script.","archived":false,"fork":false,"pushed_at":"2024-10-23T23:08:15.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T14:18:25.214Z","etag":null,"topics":["automation","backup","configuration","customization","debian","development-environment","linux","open-source","package-management","scripts","setup","system-administration"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StuCodeGreen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-06T16:50:25.000Z","updated_at":"2024-10-23T23:08:18.000Z","dependencies_parsed_at":"2024-10-24T04:47:19.123Z","dependency_job_id":null,"html_url":"https://github.com/StuCodeGreen/.debian-setup","commit_stats":null,"previous_names":["stucodegreen/debian-setup","stucodegreen/.debian-setup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuCodeGreen%2F.debian-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuCodeGreen%2F.debian-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuCodeGreen%2F.debian-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuCodeGreen%2F.debian-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StuCodeGreen","download_url":"https://codeload.github.com/StuCodeGreen/.debian-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246716634,"owners_count":20822499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","backup","configuration","customization","debian","development-environment","linux","open-source","package-management","scripts","setup","system-administration"],"created_at":"2024-10-27T07:03:15.851Z","updated_at":"2026-05-05T21:35:57.720Z","avatar_url":"https://github.com/StuCodeGreen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Setup and Restore Script\n\nThis script automates the setup and restoration of your Debian development environment, including configuration files, essential packages, and development tools.\n\n## Features\n\n- **Logging**: Provides informative and error logs during execution.\n- **Backup Management**: Restores backups of configuration files and maintains version control.\n- **Neovim Installation**: Installs Neovim and adds it to your system PATH.\n- **NVM and Node.js Setup**: Installs NVM (Node Version Manager) and the latest LTS version of Node.js.\n- **Oh My Zsh Installation**: Installs Oh My Zsh for enhanced Zsh shell experience.\n- **Custom Configuration**: Sets up custom `.myProfile` and `.gitignore_global` files.\n\n## Prerequisites\n\n- A Debian-based operating system\n- Zsh shell (will be installed by script)\n- Basic knowledge of terminal commands\n\n## Usage\n\n1. **Clone the Repository** (if applicable):\n\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd \u003crepository-directory\u003e\n   ```\n\n2. **Make the Script Executable**:\n\n   ```bash\n   chmod +x setup_restore.sh\n   ```\n\n3. **Run the Script**:\n\n   ```bash\n   ./setup_restore.sh\n   ```\n\n   **Note**: Do not run this script as root or with sudo.\n\n## Functionality Overview\n\n- **Logging Functions**: Provides consistent logging for both informational and error messages.\n- **Package Installation**: Installs essential packages such as `curl`, `git`, `zsh`, `ripgrep`, `xclip`, `xsel`, `tmux`, and `alacritty`.\n- ~~**Backup Restoration**: If available restores backup files from `dotfiles_backup.tar.gz` and `dev_files_backup.tar.gz`.~~\n- **File Management**: Compares and manages the setup of `.myProfile` and `.gitignore_global`, allowing options to overwrite, update, or do nothing based on file differences.\n- **Configuration Setup**: Ensures that `.myProfile` is sourced in your `.zshrc` file.\n\n## Conclusion\n\nThis script simplifies the process of setting up your development environment on Debian. It ensures that all necessary tools and configurations are in place, allowing you to focus on development.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstucodegreen%2F.debian-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstucodegreen%2F.debian-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstucodegreen%2F.debian-setup/lists"}