{"id":21441916,"url":"https://github.com/httpjamesm/astral-cli","last_synced_at":"2025-07-14T17:32:26.282Z","repository":{"id":53099616,"uuid":"354081006","full_name":"httpjamesm/astral-cli","owner":"httpjamesm","description":"CLI client for Astral, a private image host.","archived":false,"fork":false,"pushed_at":"2021-06-14T23:11:56.000Z","size":76,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"stable","last_synced_at":"2023-03-05T14:34:37.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/httpjamesm.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}},"created_at":"2021-04-02T17:00:11.000Z","updated_at":"2022-08-26T19:45:53.000Z","dependencies_parsed_at":"2022-08-30T17:50:52.550Z","dependency_job_id":null,"html_url":"https://github.com/httpjamesm/astral-cli","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Fastral-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Fastral-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Fastral-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Fastral-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/httpjamesm","download_url":"https://codeload.github.com/httpjamesm/astral-cli/tar.gz/refs/heads/stable","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225990490,"owners_count":17556153,"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-11-23T01:44:54.718Z","updated_at":"2024-11-23T01:44:55.260Z","avatar_url":"https://github.com/httpjamesm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# astral-cli\n\nAstral CLI is a command line client for uploading media to Astral, a private image host.\n\n# Features\n\n## Speedy\n\nChange a setting, add a random domain and create a new embed profile within *seconds*. Account credentials are already stored, so no need to login every time or launch a web browser. All it takes is a keyboard and fingers.\n\n## Lightweight\n\nAstral CLI is an easy-to-use and lightweight (in size and memory usage) command line interface to interact with Astral's API. You could install this on a toaster if you really wanted to!\n\n## Automatic Access Token Generation\n\nNo need to constantly send POST requests to generate access tokens every 5 minutes because Astral CLI does it for you seamlessly. On every request, whether it's to change a setting or create a new embed profile, Astral CLI conveniently fetches a new access token in the background.\n\n## Linux Compatible\n\nAre you using a Linux distro? No problemo. Astral CLI is independent of screenshot apps, like ShareX, so you can keep on uploading without Windows spyware.\n\n## Open-Source\n\nSince Astral CLI is open-source, you can audit its code to verify that I am not doing anything malicious or even contribute to the project! If have an idea to make it even better, fork it and make a pull request.\n\n## Endorsed\n\nAspect, the founder of Astral, has shouted out Astral CLI in the [official astralcool Github organization](https://github.com/astralcool/cli).\n\n# Installation Instructions\n\nClone this git onto your computer. Run the following commands in order.\n\n```\npython3 -m pip install requests\n```\nIf you're on Linux, run the above AND the following:\n```\nsudo apt install tkinter\n```\nYou may need to use another package manager depending on your distro.\n\nOnce requests and Tkinter are installed, run the following:\n```\npython3 astralcli.py --login \u003cusername\u003e \u003cpassword\u003e\n```\n\n\nThis will install the required dependency and store your account credentials for Astral CLI.\n\n# Usage Help\n\n```\nAstralCLI is a command line interface for Astral.cool's API.\n\n\nGeneral Usage:\n    --upload \u003cfile path\u003e                Upload a file to Astral.\n    --domains                           View all Astral domains.\n        \nSettings:\n    --login \u003cusername\u003e \u003cpassword\u003e       Login to Astral with your credentials.\n\n    --settings                          View all of your settings.\n    --change \u003csetting\u003e \u003cvalue\u003e          Change a specific setting.\n\n    --embeds                            View current embed profiles.\n    --new-embed                         Create a new embed profile.\n    --del-embed \u003cprofile #\u003e             Delete an embed profile.\n    --edit-embed \u003cprofile #\u003e            Edit an embed profile\n\n    --add-random-domain \u003cdomain\u003e        Add a random domain to your list.\n    --del-random-domain \u003cdomain\u003e        Delete a random domain from your list.\n\n    --regen-upkey                       Regenerate your upload key.\n    --clear                             Clear all local account data.\n\nAre you a developer? Contribute to the AstralCLI project here: https://github.com/httpjamesm/astral-cli.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttpjamesm%2Fastral-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttpjamesm%2Fastral-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttpjamesm%2Fastral-cli/lists"}