AI-Powered Cryptocurrency Investment Platform
Empowering smart crypto investments through AI insights, real-time market data, and sustainable investing principles.
Features β’ Tech Stack β’ Quick Start β’ Deployment β’ API Keys
Zelcry is a comprehensive cryptocurrency investment platform that combines artificial intelligence with real-time market data to help investors make informed decisions. Built with Django and powered by advanced AI, Zelcry offers portfolio management, sustainability scoring, market intelligence, and personalized investment recommendations.
- Personalized cryptocurrency recommendations powered by Groq AI (Llama 3.3 70B)
- Context-aware analysis based on user portfolio and risk tolerance
- Real-time market insights and investment strategies
- Guest users get 3 free AI consultations
- Real-time portfolio tracking with live price updates
- Comprehensive ROI calculations and profit/loss analytics
- Asset allocation visualization with Chart.js
- Transaction history and performance metrics
- XP/gamification system for user engagement
- Live pricing data for 100+ cryptocurrencies via CoinGecko API
- Market cap, volume, and 24h/7d price change tracking
- Trending coins and top gainers/losers analysis
- Advanced search and filtering capabilities
- Watchlist functionality for tracking favorite assets
- Energy efficiency ratings for cryptocurrencies
- Governance and utility score metrics
- Environmental impact assessment
- Sustainable investment recommendations
- Real-time cryptocurrency news from CryptoCompare API
- Categorized and tagged news articles
- Source attribution and timestamping
- Filterable by cryptocurrency and category
- Custom price notifications (above/below thresholds)
- Multi-asset alert management
- Real-time alert triggering system
- Responsive design with Bootstrap 5.3
- Bottom navigation for seamless mobile UX
- Progressive Web App (PWA) capabilities
- Installable on iOS and Android devices
- Dark/light theme toggle
- Framework: Django 5.2
- Database: PostgreSQL (production) / SQLite (development)
- WSGI Server: Gunicorn
- Background Jobs: APScheduler
- Caching: Django Cache Framework (LocMem)
- UI Framework: Bootstrap 5.3
- Icons: Bootstrap Icons
- Charts: Chart.js 4.4
- PWA: django-pwa
- AI Model: Groq AI (Llama 3.3 70B)
- Market Data: CoinGecko API
- News Feed: CryptoCompare API
- Static Files: WhiteNoise
- Configuration: python-decouple
- Database URL Parser: dj-database-url
- Python 3.11 or higher
- pip package manager
- Git
-
Clone the repository
git clone <your-repository-url> cd zelcry
-
Create virtual environment (optional but recommended)
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Configure environment variables
Create a
.envfile in the project root:SECRET_KEY=your-django-secret-key-here DEBUG=True GROQ_API_KEY=your-groq-api-key-here CRYPTOCOMPARE_API_KEY=your-cryptocompare-key-here # Optional
-
Run database migrations
python manage.py migrate
-
Seed cryptocurrency data
python manage.py seed_crypto_data
-
Create admin superuser
python manage.py createsuperuser
-
Collect static files
python manage.py collectstatic --noinput
-
Start development server
python manage.py runserver 0.0.0.0:5000
-
Access the application
- Main site: http://localhost:5000
- Admin panel: http://localhost:5000/admin
Groq AI API Key (Required for AI Advisor)
- Visit Groq Console
- Sign up or log in
- Navigate to API Keys section
- Create a new API key
- Add to
.envfile asGROQ_API_KEY
CryptoCompare API Key (Optional - Higher rate limits)
- Visit CryptoCompare
- Sign up for a free account
- Generate API key from dashboard
- Add to
.envfile asCRYPTOCOMPARE_API_KEY
Note: CoinGecko API requires no API key for basic usage.
-
Create
build.shin project root (already included) -
Push code to GitHub
git init git add . git commit -m "Initial commit" git push origin main
-
Create PostgreSQL Database on Render
- Go to Render Dashboard
- Click New β PostgreSQL
- Configure database and copy Internal Database URL
-
Deploy Web Service
- Click New β Web Service
- Connect your GitHub repository
- Configure:
- Build Command:
./build.sh - Start Command:
gunicorn --bind=0.0.0.0:$PORT --workers=4 zelcry.wsgi:application
- Build Command:
-
Set Environment Variables on Render:
PYTHON_VERSION=3.11 SECRET_KEY=<generate-with-django-command> DEBUG=False DATABASE_URL=<paste-internal-database-url> GROQ_API_KEY=<your-groq-api-key> CRYPTOCOMPARE_API_KEY=<your-key> # Optional -
Deploy - Render will automatically build and deploy your app
Generate SECRET_KEY:
python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"For Oracle Cloud deployment, configure your VM instance with:
- Ubuntu 22.04 LTS
- Nginx reverse proxy
- PostgreSQL database
- Systemd service for Gunicorn
- SSL certificate (Let's Encrypt)
Detailed Oracle Cloud deployment guide available in docs/oracle-deployment.md
- Set
DEBUG=False - Configure
ALLOWED_HOSTSwith your domain - Use strong
SECRET_KEY - Set up PostgreSQL database
- Configure
DATABASE_URL - Add all required API keys
- Run
collectstatic - Set up HTTPS/SSL
- Configure backup strategy
- Enable error logging/monitoring
zelcry/
βββ zelcry/ # Django project settings
β βββ settings.py # Main settings
β βββ urls.py # URL configuration
β βββ wsgi.py # WSGI entry point
βββ core/ # Main application
β βββ models.py # Data models
β βββ views.py # View functions
β βββ groq_ai.py # AI integration
β βββ crypto_news.py # News API integration
β βββ scheduler.py # Background jobs
βββ templates/ # HTML templates
βββ static/ # Static assets
βββ staticfiles/ # Collected static files
βββ manage.py # Django CLI
βββ requirements.txt # Python dependencies
βββ build.sh # Render build script
βββ README.md # Documentation
Zelcry uses APScheduler to automatically refresh cryptocurrency data every hour. The scheduler initializes automatically when the Django app starts.
Manual refresh:
python manage.py seed_crypto_dataAPI responses are cached for 5 minutes to optimize performance and reduce external API calls:
- CoinGecko price data: 5-minute TTL
- Market data: 5-minute TTL
- Crypto news: 5-minute TTL
- Django's built-in CSRF protection
- Secure session management
- Password hashing with PBKDF2
- XSS prevention via template auto-escaping
- SQL injection protection via ORM
- HTTPS enforcement in production
- Secure cookie settings
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
- WhiteNoise for efficient static file serving
- Django query optimization with select_related/prefetch_related
- API response caching
- Compressed static files
- Database connection pooling
This is a proprietary project. For contribution guidelines, please contact the development team.
For technical support or inquiries:
- Email: support@zelcry.com
- Documentation: docs.zelcry.com
Β© 2025 Zelcry. All rights reserved. This is proprietary software.
- Groq AI - AI inference platform
- CoinGecko - Cryptocurrency market data
- CryptoCompare - News and additional data
- Django - Web framework
- Bootstrap - UI framework
Built with β€οΈ for the crypto community
Website β’ Documentation β’ Twitter