{"id":51043729,"url":"https://github.com/asiantbd/crypto-prices-slash-bot-cpp","last_synced_at":"2026-06-22T12:02:22.331Z","repository":{"id":165817477,"uuid":"639937996","full_name":"asiantbd/crypto-prices-slash-bot-cpp","owner":"asiantbd","description":"Crypto Prices Discord Bot C++ with Slash Command","archived":false,"fork":false,"pushed_at":"2026-06-14T09:44:37.000Z","size":27,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-14T11:22:59.409Z","etag":null,"topics":["cpp","discord-bot","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"C++","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/asiantbd.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":"2023-05-12T15:11:27.000Z","updated_at":"2026-06-14T09:44:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ef53fd2-933b-41ef-8aec-3a5a2c2df166","html_url":"https://github.com/asiantbd/crypto-prices-slash-bot-cpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asiantbd/crypto-prices-slash-bot-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiantbd%2Fcrypto-prices-slash-bot-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiantbd%2Fcrypto-prices-slash-bot-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiantbd%2Fcrypto-prices-slash-bot-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiantbd%2Fcrypto-prices-slash-bot-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asiantbd","download_url":"https://codeload.github.com/asiantbd/crypto-prices-slash-bot-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiantbd%2Fcrypto-prices-slash-bot-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34647750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["cpp","discord-bot","hacktoberfest"],"created_at":"2026-06-22T12:02:21.397Z","updated_at":"2026-06-22T12:02:22.309Z","avatar_url":"https://github.com/asiantbd.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crypto Price Discord Bot C++ with Slash Command\n\nThis is a Discord bot that can be used to query crypto prices using the Coingecko API. It supports slash commands, so you can use it to get the latest prices for any cryptocurrency.\n\n### Requirements\n- [DPP - C++ Discord API Bot Library](https://github.com/brainboxdotcc/DPP/)\n- [nlohmann_json](https://github.com/nlohmann/json)\n\n### Usage\n\n#### Docker\n\n```\ndocker run -it --platform=linux/amd64 -e DISCORD_TOKEN=xxxxx ghcr.io/asiantbd/crypto-prices-slash-bot:latest\n```\n\nor\n\n```\ndocker compose -f docker-compose.yml up\n```\n\n### Build\n\n#### Build Using External Precompiled Dependency (Recommended)\n- Install Precompiled Lib (Debian, Ubuntu, Derivatives), check [this link](https://dpp.dev/installing.html) for other distro.\n\n  DPP:\n  ```\n  wget -O dpp.deb https://dl.dpp.dev/\n  sudo dpkg -i dpp.deb\n\n  ```\n  nlohmann_json:\n  ```\n  sudo apt-get install nlohmann-json3-dev\n  ```\n\n- Build (CMake \u003e v3.11)\n  ```\n  git clone https://github.com/asiantbd/crypto-prices-slash-bot-cpp.git\n  cd crypto-prices-slash-bot-cpp\n  mkdir build \u0026\u0026 cd build\n\n  cmake .. -B./\n  make\n  ```\n\n#### Build Using Embedded Dependency (FetchContent)\n- There's two CMake option to turn off the use of external dependency, and will fetch library content then build it on the local computer.\n  ```\n  USE_EXTERNAL_DPP\n  USE_EXTERNAL_JSON\n  ```\n  Set both or one of the option to OFF (default ON) to fetch and build the library.\n\n- Build (CMake \u003e v3.11)\n  ```\n  git clone https://github.com/asiantbd/crypto-prices-slash-bot-cpp.git\n  cd crypto-prices-slash-bot-cpp\n  mkdir build \u0026\u0026 cd build\n\n  cmake -DUSE_EXTERNAL_DPP=OFF -DUSE_EXTERNAL_JSON=OFF .. -B./\n  make\n  ```\n\n### Available Commands\n\nThe bot supports the following slash commands:\n\n#### Price Query\nGet cryptocurrency prices in USD and IDR:\n- Using CoinGecko ID: `/price coingecko_id:bitcoin`\n- Using ticker symbol: `/price ticker:btc` or `/price ticker:$BTC`\n\nNote: When multiple coins share the same ticker (e.g., \"ETH\" for both Ethereum and Ethereum Classic),\na dropdown menu will appear allowing you to select the specific coin.\n\n\n### Additional\n- In case you're got error while trying `make` that caused by `curl` try install it first. ex: `sudo apt-get install libcurl4-openssl-dev`\n\n### Running the binary\n- Mandatory environment variable for Discord token: `DISCORD_TOKEN`\n- Run:\n```\nDISCORD_TOKEN=xxxx.xxx.xxx ./asiantbd_bot\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasiantbd%2Fcrypto-prices-slash-bot-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasiantbd%2Fcrypto-prices-slash-bot-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasiantbd%2Fcrypto-prices-slash-bot-cpp/lists"}