π Welcome to CryptoAlertX - Your personal assistant for cryptocurrency alerts and live data on Telegram! π
Telegram Bot Link: CryptoAlertX
- Introduction
- Features
- Getting Started for Users
- Getting Started for Developers
- Commands
- Environment Variables
- Project Structure
- Contributing
- License
CryptoAlertX is a powerful Telegram bot that allows you to stay updated with live cryptocurrency data, set custom price alerts, and manage your crypto portfolio efficiently. Whether you're a trader or an enthusiast, CryptoAlertX will help you make informed decisions with real-time data and notifications.
- π Live Data: Fetch real-time data for any cryptocurrency.
- π¨ Custom Alerts: Set price alerts for your favorite tokens.
- π Manage Alerts: List, update, and remove your active alerts.
- π User Authentication: Ensures secure access to bot features.
- π Integration with CoinGecko API: For accurate and up-to-date cryptocurrency information.
- Simply click on this link: CryptoAlertX.
- Hit the /start command to begin your journey.
- Use the /register command to create your account.
- Use the commands listed below to interact with the bot and manage your crypto alerts!
git clone https://github.com/your-username/cryptoalertx.git
cd cryptoalertx
npm install
Create a .env
file in the root of your project and add the following variables:
###################### MongoDB Database ######################
db_url = your_mongodb_url
###################### TELEGRAM BOT CREDENTIALS ######################
TELEGRAM_BOT_TOKEN = your_telegram_bot_token
###################### COINGECKO API ######################
COINGECKO_API_KEY = your_coingecko_api_key
node index.js
Your bot is now up and running! π
- /start - π Start interacting with the bot and see the welcome message.
- /register - π Register yourself to start using the bot.
- /get_token - π Get live data for a specific cryptocurrency token.
- /set_alert - π¨ Set an alert to be notified when a token's price crosses a specified threshold.
- /list_alerts - π List all your active alerts.
- /remove_alert - π Remove an existing alert by its ID.
This project requires the following environment variables:
###################### MongoDB Database ######################
db_url = your_mongodb_url
###################### TELEGRAM BOT CREDENTIALS ######################
TELEGRAM_BOT_TOKEN = your_telegram_bot_token
###################### COINGECKO API ######################
COINGECKO_API_KEY = your_coingecko_api_key
cryptoalertx/
βββ controllers/ # Contains the bot's logic and command handling
βββ config/ # Configuration files for database, logging, etc.
βββ routes/ # Defines the bot's command routes
βββ auth/ # Authentication middleware
βββ models/ # Database models
βββ index.js # Entry point of the bot
βββ .env # Environment variables
We welcome contributions from the community! Feel free to fork the project and submit pull requests. Please make sure to follow the coding standards and add relevant tests for any new features.
This project is licensed under the MIT License - see the LICENSE file for details.
π CryptoAlertX - Keeping you ahead in the cryptocurrency game! π