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.
- NASA API Integration: Connects to NASA's API to fetch and display real-time imagery from mars rovers Curiosity, Perseverance, Opportunity, and Spirit.
To set up Rovie on your local machine, follow these steps:
- Clone the Repository:
git clone https://github.com/alexdovzhanyn/rovie.git
- Navigate to the Project Directory:
cd rovie
- Install the Dependencies:
npm install
Before running the bot, you need to set up the environment configuration file:
- CSet Up the Env Configuration:
In the root directory of the project, rename the file named
_env.json
toenv.json
. Update the file with:{ "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).
- By default, the rover photo fetching will run once every 3 hours. If you'd like to fetch more often than that,
change
To start the bot, execute the following command in your terminal:
npm start
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.
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes and push your branch to GitHub.
- Open a pull request with a detailed description of your changes.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any questions or feedback, please reach out to alexdovzhanyn.