A modern, static dashboard for analyzing Bitcoin market cycles using key on-chain metrics and technical indicators. Built with Next.js and deployable on GitHub Pages.
- Real-time Bitcoin cycle analysis
- Key metrics visualization (NUPL, MVRV, SOPR, Rainbow Chart)
- 48-bar cycle timeline
- Risk management dashboard
- Mobile-responsive design
- Offline support with data caching
- Frontend: Next.js 14 (Static Export)
- Styling: Tailwind CSS
- Charts: TradingView Lightweight Charts
- Data: Client-side API fetching with SWR
- Deployment: GitHub Pages / Vercel / Netlify
- Database: Supabase (if needed for caching)
- Clone the repository:
git clone https://github.com/yourusername/bitcoin-cycle-dashboard.git
cd bitcoin-cycle-dashboard- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env.localFill in your API keys in .env.local
- Run development server:
npm run dev- Build for production:
npm run build- Update
next.config.jswith your GitHub Pages base path - Push to GitHub
- Enable GitHub Pages in repository settings
- Connect your GitHub repository to Vercel
- Configure environment variables
- Deploy
- Connect your GitHub repository to Netlify
- Configure build settings:
- Build command:
npm run build - Publish directory:
out
- Build command:
- Configure environment variables
- Deploy
- Glassnode API (for on-chain metrics)
- CoinGecko API (for price data)
- Optional: CryptoCompare, Blockchain.info, Messari
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
MIT License - see LICENSE file for details
This project is for educational purposes only. Not financial advice. Use at your own risk.