Dogspotter is a leaderboard-based game where players take photos of dogs in the real world and submit them for points.
Join the Dogspotter Discord! 💬
The project is written in JavaScript. It utilizes Firebase for data storage and the Google Vision API for automatic dog-detection.
The Dogspotter bot is not available to invite to your own Discord server, but you're free to self-host it with your own Firebase and Google Vision API credentials to play with your friends! See the setup section for a getting started guide.
Please report any issues with the bot to either our Discord server (/report
) or on the issues page!
Good-faith contributions are always welcome! This project is pretty simple, so if you're a new JavaScript developer or want to work on something simple, this is a good project for you. We also don't bite, so even if you're new we're happy to give constructive feedback on your contributions.
- Clone the project onto your local machine.
- Copy the
.env.example
andconfig.json.example
files and remove their.example
extensions. - Fill in the placeholder ID's with your real ID's from Discord.
- Replace
firebase.json.example
with your Firebase configuration file (this holds your API key and other information). - In the root project directory, install the required packages with
npm i
. - Enable the Google Vision AI API in your Google Cloud Developer Console.
- Install the gcloud CLI and set up your ADC (Application Default Credentials) by following this guide.
- Navigate to
src/
and runnode deployCommands.js
to set up commands on your test server. - Navigate to
src/
and runnode index.js
to start the bot.