{"id":31641917,"url":"https://github.com/marechalg/countrydex","last_synced_at":"2026-04-28T21:34:58.547Z","repository":{"id":300629870,"uuid":"1006668143","full_name":"marechalg/Countrydex","owner":"marechalg","description":"Pokémon-like with flags, hosted on Discord","archived":false,"fork":false,"pushed_at":"2025-10-06T20:13:19.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T20:40:18.865Z","etag":null,"topics":["discordjs","json","nodejs"],"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/marechalg.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-22T18:55:45.000Z","updated_at":"2025-10-06T20:13:22.000Z","dependencies_parsed_at":"2025-06-22T20:18:39.098Z","dependency_job_id":"2aaf104c-4a8e-40aa-9fcd-dabfa6cccf3e","html_url":"https://github.com/marechalg/Countrydex","commit_stats":null,"previous_names":["marechalg/countrydex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marechalg/Countrydex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marechalg%2FCountrydex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marechalg%2FCountrydex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marechalg%2FCountrydex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marechalg%2FCountrydex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marechalg","download_url":"https://codeload.github.com/marechalg/Countrydex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marechalg%2FCountrydex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278714573,"owners_count":26033107,"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-10-07T02:00:06.786Z","response_time":59,"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":["discordjs","json","nodejs"],"created_at":"2025-10-07T03:26:20.881Z","updated_at":"2026-04-28T21:34:58.529Z","avatar_url":"https://github.com/marechalg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌍 Countrydex\n\nA Discord bot that turns geography into an addictive collection game. Hunt flags, guess countries, and compete with players worldwide.\n\n## 🎯 Overview\n\nCountrydex spawns flags from around the world in your Discord server. Race to identify them, build your collection, and climb the global leaderboard.\n\n## ✨ Features\n\n- 🏳️ **Auto-spawning flags** - New flags appear every hour at :30\n- 🎮 **Interactive guessing** - Pop-up interface for country identification\n- 🏆 **Global leaderboard** - Compete on completion rate, collection size, and speed\n- 📊 **Personal stats** - Track your progress with `/dex`\n- 💾 **Reliable data** - Database backed up daily\n\n## 🛠️ Commands\n\n| Command | Description |\n|---------|-------------|\n| `/help` | Display all available commands |\n| `/dex` | View your complete flag collection and stats |\n| `/lb` | Check the global leaderboard |\n| `/clear [1-99]` | Clear messages (requires `MANAGE_MESSAGES`) |\n| `/ping` | Display latency and uptime |\n| `/reset` | Reset your progression (⚠️ irreversible for now) |\n\n## 🚀 Tech Stack\n\n- **Runtime**: Node.js\n\n- **Framework**: discord.js\n\n- **Database**: PostgreSQL\n\n- **Libraries**: \n  - node-vibrant (color extraction)\n  - moment (time handling)\n  - axios (HTTP requests)\n  - deepl-node (translations)\n\nyou can find more details into [packages file](package.json)\n\n- **Hosting**: Raspberry Pi 5 (8GB)\n\n## 🎮 How to Play\n\n1. Add Countrydex to your Discord server\n2. Flags will spawn automatically in designated channels\n3. Click the pop-up and guess the country (name or code)\n4. Build your collection and compete globally\n\n## 📦 Installation\n\nInvite the bot in your server from this [Invitation Link](https://discord.com/oauth2/authorize?client_id=1342612831647957063\u0026permissions=125968\u0026integration_type=0\u0026scope=bot+applications.commands)\n\n## 🔧 Configuration\n\nCountrydex only requires a text channel having `spawning` in its name, and the permissions asked in the invitation.\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🤝 Contributing\n\nContributions are welcome ! Feel free to open issues or submit pull requests.\n\n## 📞 Support\n\nJoin our [Discord Server](https://discord.gg/ZSt2vPydbN) for support, updates and Beta Testing Programm.\n\n---\n\n**Sharpen your knowledge, and start your hunting journey.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarechalg%2Fcountrydex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarechalg%2Fcountrydex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarechalg%2Fcountrydex/lists"}