{"id":20195998,"url":"https://github.com/thehxdev/aptgit","last_synced_at":"2025-10-14T07:16:36.876Z","repository":{"id":257300019,"uuid":"857855066","full_name":"thehxdev/aptgit","owner":"thehxdev","description":"A package manager for Github releases","archived":false,"fork":false,"pushed_at":"2024-12-17T08:05:48.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T07:16:36.294Z","etag":null,"topics":["api","downloader","go","package-manager"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thehxdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-15T19:23:09.000Z","updated_at":"2025-08-26T19:22:01.000Z","dependencies_parsed_at":"2025-01-13T19:35:17.878Z","dependency_job_id":"35bddaae-5430-475c-b1e8-52b3630121c1","html_url":"https://github.com/thehxdev/aptgit","commit_stats":null,"previous_names":["thehxdev/aptgit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thehxdev/aptgit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Faptgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Faptgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Faptgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Faptgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thehxdev","download_url":"https://codeload.github.com/thehxdev/aptgit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Faptgit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018217,"owners_count":26086303,"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-10-14T02:00:06.444Z","response_time":60,"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":["api","downloader","go","package-manager"],"created_at":"2024-11-14T04:21:00.265Z","updated_at":"2025-10-14T07:16:36.860Z","avatar_url":"https://github.com/thehxdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aptgit\naptgit is a package and version manager for Github releases.\n\n\u003e [!WARNING]\n\u003e This project is in alpha stage.\n\n## Build\nFirst install [GNU make](https://www.gnu.org/software/make/) and [Go compiler](https://go.dev). Then build aptgit:\n```bash\nmake\n```\n\n## Usage\n\u003e [!WARNING]\n\u003e The packages defined in [gpkgs](gpkgs) directory are only tested on Linux Mint 22 environment (other Linux systems must be OK) but macOS is not tested.\n\nProvide a config file and a package's definition to `aptgit` executable to download the specified file:\n```bash\n# Make required directories\nmkdir -p ~/.aptgit/{downloads,installs,bin}\n\n# Copy package definitions to aptgit home\ncp -r ./gpkgs ~/.aptgit\n\n# Get help message\naptgit help\n```\n\n## Install\nYou can use GNU make to install aptgit. By default aptgit installs to `~/.local/bin` directory and default aptgit home is set to `~/.aptgit`.\nYou can go with defaults or change them:\n```bash\n# install with defaults\nmake install\n\n# install with modified paths\nmake install INSTALL_DIR=/path/to/install/directory APTGIT_HOME=/path/to/aptgit/home\n```\n\n## Uninstall\nIn case you installed aptgit with default parameters:\n```bash\nrm -rf $HOME/.local/bin/aptgit $HOME/.aptgit\n```\n\n## Todo!\n- [ ] Implement `init`, `install`, `uninstall`, `upgrade`, `list-versions`, `latest-version`, `list-installed`, `switch`, `cleanup` sub-commands\n- [X] Install and set custom version of a program\n- [ ] Override aptgit and package parameters from command line\n- [x] Ensure all required directories exist before any processing\n- [ ] Structured logging\n- [ ] Better error handling\n- [ ] Process multiple packages concurrently\n- [X] `aptgit.lock` file to keep metadata about installed packages (if needed - probably required for upgrading packages)\n- [ ] Better naming, coding style and cleaner architecture\n- [ ] Cleanup the source code and seperate modules cause it's a mess\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehxdev%2Faptgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthehxdev%2Faptgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehxdev%2Faptgit/lists"}