Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexdovzhanyn/rovie
🚀🤖 A discord bot that fetches the latest views of Mars from the NASA Mars Rovers, using the NASA API
https://github.com/alexdovzhanyn/rovie
bot discord discord-bot nasa nasa-api
Last synced: about 1 month ago
JSON representation
🚀🤖 A discord bot that fetches the latest views of Mars from the NASA Mars Rovers, using the NASA API
- Host: GitHub
- URL: https://github.com/alexdovzhanyn/rovie
- Owner: alexdovzhanyn
- Created: 2024-06-27T03:08:28.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-27T03:31:57.000Z (7 months ago)
- Last Synced: 2024-10-30T06:25:37.493Z (3 months ago)
- Topics: bot, discord, discord-bot, nasa, nasa-api
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rovie
Rovie is a Discord bot developed to enhance user engagement in the Space Station Discord server by leveraging NASA's API for space-related information.
## Features
- **NASA API Integration**: Connects to NASA's API to fetch and display real-time imagery from mars rovers Curiosity, Perseverance, Opportunity, and Spirit.
## Installation
To set up Rovie on your local machine, follow these steps:
1. **Clone the Repository**:
```sh
git clone https://github.com/alexdovzhanyn/rovie.git
```
2. **Navigate to the Project Directory**:
```sh
cd rovie
```
3. **Install the Dependencies**:
```sh
npm install
```## Configuration
Before running the bot, you need to set up the environment configuration file:
1. **CSet Up the Env Configuration**:
In the root directory of the project, rename the file named `_env.json` to `env.json`. Update the file with:
```json
{
"DISCORD_BOT_TOKEN": "your_discord_bot_token",
"DISCORD_CHANNEL_ID": "your_discord_channel_id",
"NASA_API_KEY": "your_nasa_api_key"
}
```
- By default, the rover photo fetching will run once every 3 hours. If you'd like to fetch more often than that,
change `ROVER_PHOTO_FREQUENCY_MS` to something else (in milliseconds).## Usage
To start the bot, execute the following command in your terminal:
```sh
npm start
```## Contributing
Contributions to Rovie are welcome! If you have any ideas for new features or improvements, feel free to open an issue or submit a pull request.
### Steps to Contribute
1. Fork the repository.
2. Create a new branch for your feature or bugfix.
3. Commit your changes and push your branch to GitHub.
4. Open a pull request with a detailed description of your changes.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
## Contact
For any questions or feedback, please reach out to [alexdovzhanyn](https://github.com/alexdovzhanyn).