A website that visualizes and predicts Bitcoin price cycles based on the legendary 4chan /biz/ pattern, extrapolating predictions to the year 3000.
This project is based on a pattern discovered in Bitcoin's historical price movements, originally posted on 4chan's /biz/ board. The pattern shows remarkable consistency:
- ATL → ATH: ~1064 days (Bull market)
- ATH → ATL: ~366 days (Bear market)
The website extrapolates this pattern forward through the year 3000, providing:
- Timeline visualization with Chart.js
- Detailed cycle predictions with price estimates
- Individual pages for each predicted cycle event
- Historical context and methodology explanation
- Framework: Astro 5.2.5
- Styling: Tailwind CSS 3.4.0
- Typography: @tailwindcss/typography
- Charts: Chart.js 4.4.0
- Fonts: Inter & JetBrains Mono (Google Fonts)
- Language: TypeScript
/
├── public/
│ └── favicon.svg # Site favicon
├── src/
│ ├── data/
│ │ └── cycles.ts # Core logic: cycle calculation & data
│ ├── layouts/
│ │ └── Layout.astro # Base layout with nav & footer
│ ├── pages/
│ │ ├── index.astro # Homepage with timeline
│ │ ├── about.astro # About page & methodology
│ │ └── cycle/
│ │ └── [year].astro # Dynamic route for cycle details
│ └── components/ # (Empty - components inline in pages)
├── astro.config.mjs # Astro configuration
├── tailwind.config.mjs # Tailwind custom theme
├── tsconfig.json # TypeScript configuration
└── package.json # Dependencies & scripts
- Hero section with next predicted event countdown
- Interactive Chart.js timeline visualization
- Grid of upcoming cycles (clickable cards)
- Explanation of the 4chan prophecy
- Responsive design with dark crypto theme
- Individual pages for each prediction (generated at build time)
- Detailed event information (date, price estimate, cycle length)
- Pattern explanation specific to ATH/ATL events
- Links to original post and methodology
- Historical pattern analysis
- Methodology explanation
- Why the pattern matters
- Important disclaimers
Custom Tailwind colors:
crypto-dark: #0a0a0acrypto-gray: #1a1a1acrypto-light: #2a2a2acrypto-green: #10b981crypto-orange: #f97316crypto-blue: #3b82f6
Custom animations: pulse-slow, glow
All commands are run from the root of the project:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
-
Clone the repository
git clone git@github.com:temaprint/btcpriceprediction.dev.git cd btcpriceprediction.dev -
Install dependencies
npm install
-
Start development server
npm run dev
-
Open your browser Navigate to
http://localhost:4321
- Historical Events: Hard-coded actual Bitcoin ATH/ATL events from 2017-2022
- Known Future Cycles: Predefined cycles through 2030 with specific dates and prices
- Generated Cycles: Algorithm generates cycles to year 3000 using:
- Alternating pattern (ATH → ATL → ATH...)
- Fixed day intervals (1064 for bull, 364 for bear)
- Exponential price growth model
Astro generates:
- Main pages (index, about) at build time
- Dynamic routes for all cycles (2017-3000) using
getStaticPaths() - Optimized, zero-JS pages (Chart.js loads only on homepage)
This site is fully optimized for search engines and social sharing:
- ✅ XML Sitemap: Auto-generated with
@astrojs/sitemap - ✅ Robots.txt: Properly configured for crawler access
- ✅ Canonical URLs: Unique canonical on every page
- ✅ Meta Tags: Complete title, description, keywords
- ✅ Structured Data: Schema.org JSON-LD (WebSite, Article, FAQ)
- ✅ Open Graph: Full OG tags for Facebook/LinkedIn sharing
- ✅ Twitter Cards: Optimized for Twitter sharing
- ✅ PWA Manifest: Progressive Web App support
- ✅ Humans.txt: Credits and team information
- ⚡ Static site generation (blazing fast)
- 📱 Mobile-first responsive design
- 🎨 Minimal JavaScript footprint
- ♿ Semantic HTML structure
- 🔗 Internal linking strategy
- 📝 Unique content for each page
- 🎯 Targeted keywords: bitcoin, cryptocurrency, price prediction
- 📊 FAQ structured data on homepage
- 🔗 Link to original source (4chan post)
- 📄 About page with methodology
See SEO-CHECKLIST.md for complete details.
The site is configured for deployment with:
- Site URL:
https://btcpriceprediction.dev - Build format: Directory (SEO-friendly URLs)
- Sitemap: Auto-generated at
/sitemap-index.xml
Ready to deploy to:
- Vercel
- Netlify
- Cloudflare Pages
- Any static hosting service
- Replace placeholder
og-image.jpgwith actual 1200x630px image - Update repository URL in
package.json - Test social sharing cards
- Validate structured data with Google Rich Results Test
- Submit sitemap to Google Search Console
This website is for educational and entertainment purposes only.
- Not financial advice
- Past performance ≠ future results
- Cryptocurrency markets are highly volatile
- Always DYOR (Do Your Own Research)
- Never invest more than you can afford to lose
This project is open source and available under the MIT License.
Built with 🧡 by crypto enthusiasts, for crypto enthusiasts
