README generated using Cursor because I am lazy
Cosmos CLI is a command-line interface application designed for searching and retrieving information about satellites. It leverages various Rust crates to provide a user-friendly interface for satellite data exploration.
- Satellite Search: Users can search for satellites by name.
- Pagination: Supports pagination for search results.
- Satellite Information Display: Displays detailed information about satellites, including distance from Earth.
- Rust (edition 2021 or later)
- Cargo
- Clone the repository:
git clone https://github.com/your-repository/cosmos_cli.git
- Setup environment variables (from N2YO API)
echo "N2YO_API_KEY=<YOUR KEY>" > .env
- Navigate to the project directory:
cd cosmos_cli
- Build the project using Cargo:
cargo build --release
- Run the application:
cargo run
After running the application, follow the on-screen prompts to search for satellites and view detailed information about them.
Cosmos CLI uses several crates to function properly:
reqwest
for HTTP requests.tokio
for asynchronous runtime.serde
andserde_json
for serialization and deserialization.chrono
for date and time functionality.crossterm
,dialoguer
, andindicatif
for CLI interface and progress indication.clearscreen
for clearing the terminal screen.image
for image processing.sgp4
for satellite tracking.dotenvy
for loading environment variables.
See Cargo.toml
for specific versions and additional details.
Contributions are welcome! Please feel free to submit pull requests or open issues to suggest improvements or add new features.
Specify your license here. If not specified, it's recommended to choose an open-source license suitable for your project.
Thanks to all the contributors and the Rust community for the support and libraries that made this project possible.