🌌 ASTRO-CYBER Terminal: The Retro-Cyberpunk AI Astrologer
Step into a retro-futuristic terminal world where cyberpunk aesthetics meet modern AI. ASTRO-CYBER is a lightweight web app that transforms your browser into an old-school command-line console—only this time, it talks back with the wisdom of an AI astrologer.
No backend. No heavy frameworks. Just pure HTML, CSS, and JavaScript powering a surprisingly immersive experience.
✨ What Makes It Special?
🔮 A Terminal That Feels Alive
Full-screen, responsive console with authentic glitchy animations, scanlines, and a scrolling grid background.
Boot-up comes with character-by-character typing to make you feel like you’re hacking into something forbidden.
⌨️ Command-Driven Interaction Type commands just like a real terminal:
help → See all available commands
login to astrocyber → Start the authentication ritual
clear → Wipe the screen clean
ask [your query] → Chat with the AI astrologer (once you’re logged in)
🔑 A Puzzle-Like Login System No boring password fields here. To log in, you generate a secret key based on your Date and Time of Birth. Here’s how it works:
Your DOB digits collapse into a single number (digital root).
Your time of birth digits transform into ASCII codes.
Combine them into a cryptic key (like O52F55E).
Only then can you unlock access.
🤖 AI-Powered Wisdom Behind the neon curtains, ASTRO-CYBER connects with Google Gemini (gemini-2.5-flash-preview-05-20) to generate personalized, dynamic responses.
Uses resilient fetch calls with exponential backoff—so even if the network flakes out, the app bounces back.
🛠️ Minimalist Yet Powerful
A single-page app (SPA) with no backend.
Built only with HTML, CSS, and JavaScript.
Styled with Tailwind (via CDN) for fast, clean design.
Super portable—runs anywhere a browser does.
🚀 Run It on Your Machine
Since it’s just static files, getting started is easy:
Download the files → index.html, styles.css, script.js
Grab an API Key → From Google AI Studio
Edit the script → Open script.js and replace "YOUR_GEMINI_API_KEY" with your key
Launch a local server →
python -m http.server
Open the app → Visit http://localhost:8000 in your browser
Google Gemini isn’t available everywhere. If you’re in a region that’s blocked, you might need a VPN or run the project in a cloud dev environment (like Gitpod or GitHub Codespaces) based in a supported country. Check the official region list .
👉 Think of it as a cyberpunk fortune-telling console—half nostalgia, half next-gen AI.