{"id":18294879,"url":"https://github.com/peter-tanner/spacex-cli","last_synced_at":"2026-05-02T03:05:13.279Z","repository":{"id":176241309,"uuid":"327095546","full_name":"peter-tanner/spacex-cli","owner":"peter-tanner","description":"View upcoming launches in your terminal through an information-dense tui. Yes, I'm too lazy to rename this to the more proper spacex-tui.","archived":false,"fork":false,"pushed_at":"2021-04-23T15:50:59.000Z","size":255,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T02:41:29.172Z","etag":null,"topics":["launch","rocket","spacex","spacex-api","spacex-cli","spacex-tui","spacexdata"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/peter-tanner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2021-01-05T19:14:56.000Z","updated_at":"2023-03-24T06:43:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"e38077dd-d3ca-451f-9757-6ef809dc64c1","html_url":"https://github.com/peter-tanner/spacex-cli","commit_stats":null,"previous_names":["peter-tanner/spacex-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-tanner%2Fspacex-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-tanner%2Fspacex-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-tanner%2Fspacex-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-tanner%2Fspacex-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter-tanner","download_url":"https://codeload.github.com/peter-tanner/spacex-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248001740,"owners_count":21031459,"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":["launch","rocket","spacex","spacex-api","spacex-cli","spacex-tui","spacexdata"],"created_at":"2024-11-05T14:31:13.946Z","updated_at":"2026-05-02T03:05:08.239Z","avatar_url":"https://github.com/peter-tanner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpaceX-cli\r\n## View upcoming launches in the terminal\r\n\r\n### Install with `npm install -g npc-strider/spacex-cli`\r\n\r\n### ** I'm not including the proper `spacex.ico` in my releases to prevent trademark infringement :/ sorry. Add your own spacex logo in the npm directory: `npm\\node_modules\\spacex-cli` **\r\n\r\n![Main view](./preview-images/main.png)\r\n\r\n*You may notice that  falcon heavy launch shows as falcon 9, but that appears to be due to the API. Doesn't appear like this now.\r\n\r\n```\r\nUsage:\r\n    spacex-cli\r\n    spacex-cli [-a \u003cpolling interval\u003e] | [-h] | [-s \u003cpolling interval\u003e] | [-d] | [-b] | [-v] | [-p \u003cappdir\u003e] | [-n \u003ctime remaining\u003e] | [-g \u003ctime remaining\u003e]\r\n    spacex-cli [--api_refresh=\u003cpolling interval\u003e] | [--help] | [--screen_refresh=\u003cpolling interval\u003e] | [--dump] | [--blink] | [--archive] | [--path=\u003cappdir\u003e] | [--notify_time=\u003ctime remaining\u003e] | [--highlight_time=\u003ctime remaining\u003e]\r\n\r\nOptions:\r\n    -h, --help              Show this help information.\r\n    -s, --screen_refresh    Screen refresh interval in milliseconds. How often time-based information updates [default: 1000]\r\n    -a, --api_refresh       API refresh interval in milliseconds. How often we poll the api for new/updated information. Please don't use small values! [default: 600000]\r\n    -c, --color             Print with color [default: true]\r\n    -d, --dump              Non-interactive mode - dumps the main launches table [default: false]\r\n    -b, --blink             Blink for close launches. This argument exists because I know some people hate blink [default: false]\r\n    -v, --archive           Archive launch data when changed [default: false]\r\n    -p, --path              Application directory [default: ~/.spacexcli]\r\n    -n, --notify_time       At this amount of seconds remaining until launch, send a notification [default: 5400]\r\n    -g, --highlight_time    At this amount of seconds remaining until launch, highlight the row in the table view [default: 86400]\r\n```\r\nThis is an enhanced version of a basic CLI bash script I was using.\r\n\r\nBecause the bash script was based on the v3 [spacexdata](https://github.com/r-spacex/SpaceX-API) api, I was forced to upgrade it to use the new v4 api. \r\n\r\nSo I decided to not just upgrade the bash script to use the new api, but also add some new features and more interactibility. \r\n\r\nThe cli isn't pretty like some others, but I think it's quite dense in relevant information.\r\n\r\n## More screenshots\r\n---\r\nView raw response\\\r\n![View raw JSON](./preview-images/raw-view.png)\r\n\r\nView differences in data (You'll be notified as well when the data changes)\\\r\nYou can also view the differences (which includes data not in the table) in JSON form.\\\r\n![Diff table](./preview-images/diff-table.png)\r\n\r\n## Changelog\r\n---\r\n| Date | Version | Changes |\r\n| --- | --- | --- |\r\n| 2021-01-08 | 1.0.0 | Initial release. |\r\n| 2021-02-07 | 1.0.1 | Fix bug with diff where undefined cells would cause an error. |\r\n| 2021-02-16 | 1.0.2 | Added temp/placeholder icon to fix notifications. Remember to add your own icon (not including originals to prevent trademark infringement) |\r\n| 2021-04-23 | 1.0.3 | Fixed notifications on WSL due to unix-style paths not working as an argument on Windows with node-notifier |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-tanner%2Fspacex-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter-tanner%2Fspacex-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-tanner%2Fspacex-cli/lists"}