{"id":24299278,"url":"https://github.com/piyush-linux/packit","last_synced_at":"2025-08-02T07:09:18.918Z","repository":{"id":270551570,"uuid":"910729910","full_name":"Piyush-linux/packit","owner":"Piyush-linux","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-03T16:44:36.000Z","size":179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T10:54:57.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Piyush-linux.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":"2025-01-01T08:15:49.000Z","updated_at":"2025-01-03T16:44:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"de10bde5-db15-47ae-aaa2-fe93c077af75","html_url":"https://github.com/Piyush-linux/packit","commit_stats":null,"previous_names":["piyush-linux/packit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Piyush-linux/packit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piyush-linux%2Fpackit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piyush-linux%2Fpackit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piyush-linux%2Fpackit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piyush-linux%2Fpackit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Piyush-linux","download_url":"https://codeload.github.com/Piyush-linux/packit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piyush-linux%2Fpackit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268347848,"owners_count":24236290,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-16T21:33:40.621Z","updated_at":"2025-08-02T07:09:18.847Z","avatar_url":"https://github.com/Piyush-linux.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n   \u003cimg src=\"logo.png\" alt=\"\" width=\"250\" /\u003e\n\u003c/p\u003e\n\n---\n\n# Packit - A Simple Package Manager\n\nPackit is a lightweight package manager written in Bash. It uses GitHub repositories to manage packages, making it easy to install, update, and remove software components. This tool is ideal for developers who want to distribute and manage software packages using GitHub.\n\n## Features\n\n- **Install Packages**: Clone repositories from GitHub to a local directory.\n- **Remove Packages**: Clean up installed packages.\n- **Update Packages**: Pull the latest changes from GitHub.\n- **List Available Packages**: View packages listed in an `index.txt` file.\n- **Support for GitHub Integration**: Download raw files or full repositories using `curl` or `git`.\n\n## Getting Started\n\n### Prerequisites\n\n- **Bash**: Ensure you have a Unix-like shell.\n- **Git**: Required for cloning repositories.\n- **curl**: For downloading files from GitHub.\n\n### Installation\n\n```sh\ncurl -s https://raw.githubusercontent.com/Piyush-linux/packit/refs/heads/master/setup.sh | bash -x\n```\n\n### Activate\n\nAdd the below line and source your `.bashrc` / `.zshrc` file\n\n```sh\nexport PATH=$HOME/.local/bin/packit-scripts:$PATH\n```\n```sh\nsource ~/.bashrc\n```\n\n### Commands\n\n1. **Install a Package**\n\nInstalls a package by cloning its GitHub repository to a specified directory.\n\n```bash\npackit install \u003cpackage_name\u003e\n```\n\n2. **Remove a Package**\n\nRemoves a package from the installation directory.\n\n```bash\npackit remove \u003cpackage_name\u003e\n```\n\n3. **Update a Package**\n\nPulls the latest changes from the GitHub repository.\n\n```bash\npackit update \u003cpackage_name\u003e\n```\n\n4. **List Available Packages**\n\n```bash\npackit list\n```\n\n\n### Directory Structure\n\n```plaintext\npackit/\n|-- scripts/\n|   |-- install.sh      # Installation script\n|   |-- remove.sh       # Removal script\n|   |-- update.sh       # Update script\n|   |-- list.sh         # List script\n|-- repo/\n|   |-- index.txt       # Package metadata\n|-- packit.sh           # Main CLI\n```\n\n\n## Future Improvements\n\n- **Version Management**: Use Git tags to manage package versions.\n- **Dependency Resolution**: Add support for resolving and installing dependencies.\n- **Improved Error Handling**: Robust checks for network errors or missing files.\n- **Checksum Validation**: Verify file integrity during downloads.\n\n\n## Contributing\n\nContributions are welcome! Please fork this repository, make your changes, and submit a pull request.\n\n\n## License\n\nThis project is licensed under the MIT License.\n\n\n## Author\n\nPackit is developed by [Piyush](https://github.com/Piyush-linux).\n\nEnjoy using Packit!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyush-linux%2Fpackit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiyush-linux%2Fpackit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyush-linux%2Fpackit/lists"}