AstroScope — when a friend's challenge became a product used by 800+ people daily.
I was never into astrology. But my friend Priyanshu told me about AstrologyAPI and challenged me to build something for a Western audience. So I built AstroScope — a Discord bot that does everything astrology: daily horoscopes, birth charts, love and compatibility reports, and a lot more.
How it works
Users chat with the bot naturally. If someone asks "When will I get married?", the bot uses their birth data to calculate an astrological response via AstrologyAPI. Then it asks follow-up questions — "Do you have a girlfriend/boyfriend? What's their name?" — and checks compatibility to see if they could be a good life partner. It remembers user responses and saved names.
The tech that made it work
- AstrologyAPI supplies the raw astrological data — planetary positions, houses, aspects, compatibility scores
- An AI model (ChatGPT at the time) takes both the user's data and the astrological response, and generates a natural, personalized message
- Discord.js handles the bot interface, slash commands, and user sessions
The result? 800+ people used it daily. One of my friends, Sourabh — who is an actual pandit — loved the bot so much that he couldn't stop talking about it. When a real astrologer appreciates your astrology bot, you know the data side is solid.
What I learned
This project taught me how to combine APIs intelligently. AstrologyAPI gave me raw data, the AI model gave me language, and Discord.js gave me the interface. The real skill was stitching them together into something that felt magical to the user. It also taught me that you don't need to believe in a domain to build a great product for it — you just need to understand the data and the user.
Tech: Discord.js, Node.js, AstrologyAPI, OpenAI
Top comments (0)