A next-generation Discord automation and link tracking framework built with Node.js, Express, and SQLite — deployed on AWS EC2 with Nginx and Cloudflare SSL.
AlphaCordX is a production-ready Discord automation platform that combines custom bot hosting, link tracking, and OAuth2 authentication in one lightweight backend.
It is designed for developers who want a scalable, secure, and easy-to-deploy Discord integration running behind Nginx and Cloudflare.
- Discord.js integration with modular and extendable command handling
- Dynamic link tracking (
/files/:id) with database logging - OAuth2 authentication for Discord login
- SQLite database for persistent data storage
- Nginx reverse proxy configuration for production environments
- AWS EC2 hosting with Cloudflare SSL
- Lightweight, easy-to-deploy Node.js application
{
"botToken": "YOUR_DISCORD_BOT_TOKEN",
"clientId": "YOUR_DISCORD_CLIENT_ID",
"clientSecret": "YOUR_DISCORD_CLIENT_SECRET",
"redirectUri": "https://yourdomain.com/auth/callback",
"serverUrl": "https://yourdomain.com",
"port": 3000
}
--
# Clone the repository
git clone https://github.com/sudeshkumars/AlphaCordX.git
cd AlphaCordX
# Install dependencies
npm install
# Optional
npm install -g pm2
npm start bot.js
# Start the application
npm start
-
Launch an Ubuntu EC2 instance on AWS.
-
Install Node.js, Nginx, and PM2.
-
Point your domain to the EC2 instance via Cloudflare.
-
Enable SSL using Let’s Encrypt or Cloudflare Flexible SSL.
-
Start the application using pm2 start bot.js.
-- Slasyh command support -- /cn /help
| Layer | Technology |
|---|---|
| Backend | Node.js, Express.js |
| Bot Engine | Discord.js |
| Database | SQLite |
| Web Server | Nginx |
| Hosting | AWS EC2 |
| SSL / Security | Cloudflare, Let’s Encrypt |
This project is licensed under the MIT License – feel free to use and modify it,
but without any warranty.