Inspiration

Reddit's discussions are engaging, but they lack gamified events beyond simple polls. I wanted to add something of value that could be integrated into any subreddit, regardless of its genre.

This led me to create StreaxBot, a daily, continuously learning quiz bot featuring an active leaderboard and a near-infinite range of topics to build your streak on.




What it does

  1. Real-time Quiz Generation: Creates 5-question quizzes on any topic, no matter how niche, by sourcing information from Wiki, Fandom, and other topic-specific sites.
  2. Intelligent Mascot: Features Robo, a role-playing medieval guardsman modeled after Reddit's theme, who becomes more interactive over time.
  3. Rolling Leaderboards: Includes a Global Leaderboard (ranking players by total score) and Per-Topic Leaderboards for specialists to dominate their field.
  4. Hot Topics: Features popular quizzes directly on the landing page for immediate participation.
  5. Theme: A minimal, Reddit-inspired design best enjoyed on desktop in dark mode.



How I built it

I initially designed a two-part system: a local machine for compute-heavy tasks (RAG, fetching, scraping) and a Reddit app frontend. After this proved unstable, I pivoted to a fully automated, trigger-based online system that self-heals and stays updated.

Tech Stack:

  • Devvit, Vite, React, Tailwind

The main struggle was sourcing free or cost-efficient APIs and handling constant access errors. However, I found that all the necessary tools are available online, and LLMs helped bridge syntax gaps.




Challenges I ran into

  • Architecture Failure: My initial two-part (local/online) system was not sustainable.
  • Efficient Scraping: The challenge was minimizing API calls and database operations.
  • Technical Hurdles: I faced unclear documentation for themes, build failures that only occurred locally, and difficulties implementing user identification and authentication.
  • Skill Mismatch: As a Machine Learning student, web development is not my strong suit. The lack of powerful compute resources in Devvit limited my ability to make the bot more intelligent and personalized.



Accomplishments that I'm proud of

  • Completing my first Reddit project from scratch and giving back to the community that inspired it.



What I learned

  • Technical Skills: Gained hands-on experience with the Devvit platform, React, and API handling.
  • Time Management: Learned to plan ahead and manage time effectively under a real deadline.



What's next for StreaxBot

If the feedback is positive, I plan to:

  1. Fine-tune an LLM: Upgrade Robo's conversational abilities and content generation to create a truly adaptive user guide.
  2. Improve Content Generation: Evolve the bot to create an adaptive quiz system that adjusts question difficulty based on user performance.
  3. Enhance UI/UX: Overhaul the visuals to create a more polished, professional user experience.
  4. Optimize Performance: Further reduce API calls and database operations to improve concurrency and efficiency.

Built With

Share this project:

Updates