{"id":23045375,"url":"https://github.com/mykeels/spectranet-cli","last_synced_at":"2025-08-14T23:31:49.505Z","repository":{"id":33723718,"uuid":"150502835","full_name":"mykeels/spectranet-cli","owner":"mykeels","description":"A CLI tool for retrieving and presenting spectranet user account data in a readable format 😍","archived":false,"fork":false,"pushed_at":"2022-11-11T00:22:23.000Z","size":66,"stargazers_count":40,"open_issues_count":3,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T11:47:39.979Z","etag":null,"topics":["cli","node","spectranet"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mykeels.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}},"created_at":"2018-09-26T23:45:18.000Z","updated_at":"2024-07-11T17:41:55.000Z","dependencies_parsed_at":"2023-01-15T02:13:03.924Z","dependency_job_id":null,"html_url":"https://github.com/mykeels/spectranet-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mykeels/spectranet-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fspectranet-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fspectranet-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fspectranet-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fspectranet-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mykeels","download_url":"https://codeload.github.com/mykeels/spectranet-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fspectranet-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270499991,"owners_count":24595149,"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-14T02:00:10.309Z","response_time":75,"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":["cli","node","spectranet"],"created_at":"2024-12-15T21:20:00.182Z","updated_at":"2025-08-14T23:31:49.166Z","avatar_url":"https://github.com/mykeels.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spectranet CLI\n\nThis is an unofficial CLI tool for accessing Spectranet user account data from its web portal.\n\n![Spectranet CLI Usage Preview](https://user-images.githubusercontent.com/20991583/85040408-ae836b80-b180-11ea-9f2b-8cf2cce83e70.png)\n\n## Installation\n\n```sh\nyarn global add spectranet-cli\n```\n\nor\n\n```sh\nnpm i -g spectranet-cli\n```\n\n## Dependencies\n\n- You will need to have Google Chrome installed to use this. This program should automatically detect the file path to your Chrome executable, however you can override it by specifying the `CHROME_EXECUTABLE_PATH` env variable. e.g. `CHROME_EXECUTABLE_PATH=\"/path/to/chrome\" spectranet-cli`\n\n## Usage as NPM Module\n\n```js\nconst spectranet = require('spectranet-cli')\n\nspectranet.info().then(info =\u003e {\n    console.log('my basic spectranet info', info)\n})\n\nspectranet.payments().then(payments =\u003e {\n    console.log('my spectranet payments', payments)\n})\n\nspectranet.usage().then(records =\u003e {\n    console.log('my usage history', records)\n})\n\nspectranet.speed().then(speed =\u003e {\n    console.log('my network speed', speed)\n})\n```\n\nYou can specify `username` and `password` either by setting the `SPECTRANET_USERNAME` and `SPECTRANET_PASSWORD` env variables respectively, or by using the `spectranet.config({ username, password })` method.\n\n## Usage as CLI Tool\n\n- Get Basic Info\n\n```bash\nspectranet-cli\n    -s, --save  save login details\n    -l, --logout  delete previously saved login details\n```\n\n- Get Payments Info\n\n```bash\nspectranet-cli payments\n    -f, --first \u003ccount\u003e  view oldest payment info\n    -l, --last \u003ccount\u003e   view most recent payment info\n```\n\nTo get first 3 payments, use `spectranet-cli payments -f 3` or `spectranet-cli payments --first 3`\n\n- Get Data Usage Info\n\n```bash\nspectranet-cli usage\n    -f, --from \u003cfrom\u003e  from date in DD-MM-YYYY format\n    -t, --to \u003cto\u003e      to date in DD-MM-YYYY format\n```\n\nTo specify the starting/from date as `26-09-2018`, use\n\n```bash\nspectranet-cli usage -f 26-09-2018\n```\n\nor\n\n```bash\nspectranet-cli usage --from 26-09-2018\n```\n\n- Get Internet Speed Info\n\n```bash\nspectranet-cli speed\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmykeels%2Fspectranet-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmykeels%2Fspectranet-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmykeels%2Fspectranet-cli/lists"}