Skip to content

CryptoAlertX is your personal assistant for monitoring the crypto market. πŸ“Š Set custom price alerts for your favorite tokens, receive instant notifications when targets are hit, and access live market data all within Telegram. Whether you're a seasoned trader or just starting out, CryptoAlertX keeps you informed and ready to act. 🌟

License

Notifications You must be signed in to change notification settings

Sajid-Rajput/CryptoAlertX-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CryptoAlertX - Telegram Bot

πŸš€ Welcome to CryptoAlertX - Your personal assistant for cryptocurrency alerts and live data on Telegram! πŸš€

Telegram Bot Link: CryptoAlertX

πŸ“‹ Table of Contents

πŸ“– Introduction

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.

✨ Features

  • πŸ“Š 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.

πŸ›  Getting Started for Users

1. Start the Bot

  • Simply click on this link: CryptoAlertX.
  • Hit the /start command to begin your journey.

2. Register Yourself

  • Use the /register command to create your account.

3. Explore the Features

  • Use the commands listed below to interact with the bot and manage your crypto alerts!

πŸ’» Getting Started for Developers

1. Clone the Repository

git clone https://github.com/your-username/cryptoalertx.git
cd cryptoalertx

2. Install Dependencies

npm install

3. Set Up Environment Variables

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

4. Run the Bot

node index.js

Your bot is now up and running! πŸŽ‰

πŸ“ Commands

  • /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.

πŸ›  Environment Variables

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

πŸ“‚ Project Structure

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

🀝 Contributing

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.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸš€ CryptoAlertX - Keeping you ahead in the cryptocurrency game! πŸ“ˆ

About

CryptoAlertX is your personal assistant for monitoring the crypto market. πŸ“Š Set custom price alerts for your favorite tokens, receive instant notifications when targets are hit, and access live market data all within Telegram. Whether you're a seasoned trader or just starting out, CryptoAlertX keeps you informed and ready to act. 🌟

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published