{"id":13505449,"url":"https://github.com/michaeldelago/aipm","last_synced_at":"2025-03-30T00:30:51.101Z","repository":{"id":42428077,"uuid":"280511060","full_name":"michaeldelago/aipm","owner":"michaeldelago","description":"Package Manager for AppImages","archived":true,"fork":false,"pushed_at":"2022-12-08T11:10:51.000Z","size":155,"stargazers_count":16,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-01T03:32:24.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/michaeldelago.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-17T19:42:15.000Z","updated_at":"2024-10-17T09:02:07.000Z","dependencies_parsed_at":"2023-01-25T12:01:22.035Z","dependency_job_id":null,"html_url":"https://github.com/michaeldelago/aipm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldelago%2Faipm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldelago%2Faipm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldelago%2Faipm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldelago%2Faipm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaeldelago","download_url":"https://codeload.github.com/michaeldelago/aipm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246262490,"owners_count":20749170,"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":[],"created_at":"2024-08-01T00:01:08.248Z","updated_at":"2025-03-30T00:30:46.084Z","avatar_url":"https://github.com/michaeldelago.png","language":"Python","funding_links":[],"categories":["AppImage consumption tools"],"sub_categories":["Package managers"],"readme":"# AIPM - A Package Manager for AppImages\n\n###### Scrapes [appimage.github.io/apps](https://appimage.github.io/apps), and creates a small download manager for these\n\n### Usage\n\n`aipm install appimage`\n\n- install a package\n\n`aipm uninstall appimage`\n- uninstalls all versions of package\n\n`aipm clean [appimage|all]`\n- remove older versions of AppImages\n\n`aipm search search_term`\n\n- search for a package\n\n`aipm import -f library.json`\n\n- import a JSON in library format\n\n`aipm export`\n\n- export to `library.json` in the current working dir\n\n`aipm update`\n\n- Pulls the library from JSON feed\n- requires `gh_login` and `gh_token` to be set in configuration\n\n`aipm scrape`[Deprecated]\n\n- generate the library manually\n\n- requires `gh_login` and `gh_token` to be set in configuration\n\n`aipm -h`\n\n- shows you the same thing as above\n  \n  \n### Installation\n  \n  ```\n  - clone repo\n    \n  - install python dependencies\n    pip install -r requirements.txt\n    \n  - symlink aipm\n    ln -s /path/to/repo/aipm.py /home/USER/bin/aipm\n    \n  - configure application (edit aipm-sample.yaml, and move it to /home/USER/.config/aipm.yaml)\n    \n  - import library\n    aipm import -f /path/to/repo/library.json\n    OR\n    aipm update\n  ```\n  \n### Notes\n\n- Created when I started using Fedora Silverblue\n  \n  - Immutable OS, favors applications that are installed via AppImage or Flatpak\n  \n  - It's super cool and suprisingly usable, I'd recommend looking into it.\n\n- I found shortcomings with a similar project, [spm](https://github.com/simoniz0r/spm)\n  \n  - funnily enough, you can actually download spm (as an AppImage) with this tool.\n\n- I just wanted a simple tool to install AppImages as needed\n  \n  - I also wanted to write it\n\n- I thought it would be cool to pull a list of AppImages from an \"official\" resource\n\n- Before this project, I had no clue how webscraping worked. Turns out it's really easy :E\n\n- I chose shelve as a db because it's lightweight, and has a great context manager\n  \n  - I don't feel that a full sqlite3 db is necessary for a database so small/simple\n  \n### Shortcomings\n\n- There is no rollback (though older versions aren't deleted when new ones are installed)\n\n- If installation through `aipm` isn't working, it's always worth a google search for the project instead\n\n- AppImages and Flatpaks are better and worse than eachother in their own ways.\n\n### Known Bugs/ToDo\n\n- There is sometimes an issue with KeyErrors on the shelve db, due to the way a json can be imported (i think?)\n  \n  - This would potentially be solved by switching to sqlite3\n  \n  - Workaround for this is to run an update command\n\n- Implement \"upgrade\" command\n  \n  - It should only install a package if there's a newer version\n  \n  - ideally, if the release cycle is \"continuous\", it should always download the new version\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeldelago%2Faipm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaeldelago%2Faipm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeldelago%2Faipm/lists"}