Inspiration
As young Indonesians, we are heirs to an incredibly rich and diverse cultural tapestry, woven from thousands of islands, hundreds of languages, and countless traditions. Yet, we couldn't shake a growing, unsettling feeling: that this vibrant heritage is slowly fading from the collective memory of our generation.
Our concerns were tragically validated by a stark statistic released by the Indonesian Ministry of Education and Culture: only 23.3% of young Indonesians could name more than five elements of their own regional culture.
This wasn't just a number; it was a call to action. We saw our friends more familiar with global pop culture than with the stories of Wayang Kulit, the taste of regional Sambal, or the sound of the Sasando. The problem wasn't a lack of interest, but a lack of engaging, modern tools for discovery. We knew we had to bridge this gap, not with dusty textbooks, but with the language our generation speaks fluently: technology, social connection, and games. Thus, Lokaltur was born.
What it does
Lokaltur is a web application designed to make learning about Indonesian culture an exciting, interactive, and social adventure. We've gamified the learning process through three core features:
- Tebak Berhadiah: Challenge your friends or other players to a fast-paced trivia battle! Questions cover a wide range of topics, from traditional music and dances to local folklore and culinary delights. Quick thinking and cultural knowledge will lead you to victory.
- Geser Pilihanmu: This feature transforms the map of Indonesia into a playground. Users are presented with a cultural element—be it a traditional house, a piece of clothing, or a local weapon—and must correctly place it on its region of origin. It’s a fun, visual way to connect culture to geography.
- Cocokkan Gambar: Our take on Pictionary, with a cultural twist! One player receives a prompt like "Komodo Dragon" or "Batik Megamendung" and must draw it. The other players race against the clock to guess the correct answer. It’s chaotic, hilarious, and sneakily educational.
How we built it
Lokaltur is built on a modern, robust, and scalable tech stack, with AI at its very core.
- Frontend & Backend: We chose Next.js for its powerful hybrid framework, allowing for a fast, server-rendered landing page and a seamless client-side experience within the app. The entire backend, including user authentication and game logic, is handled through Next.js API Routes.
- Code Quality & Scalability: TypeScript was a non-negotiable choice. It ensured type safety across our entire project, making our code more predictable, easier to debug, and ready to scale as we add more features.
- The Content Engine - Gemini API: The sheer breadth of Indonesian culture is immense. Manually creating thousands of unique quiz questions, drawing prompts, and factual tidbits would be impossible. This is where Google's Gemini API became our most valuable player. We use it to:
Dynamically generate an endless supply of quiz questions with varying difficulty levels.
Create creative and challenging prompts for our "Cocokkan Gambar" game.
Provide "Fun Facts" that are displayed after a correct answer, adding a layer of deeper learning to the experience.
Challenges we ran into
Our biggest challenge was ensuring cultural accuracy and sensitivity. Using an AI to generate content about diverse traditions requires careful oversight. We ran into instances where early prompts would generate information that was too generic or missed crucial regional nuances. We overcame this through meticulous prompt engineering, creating highly specific templates for Gemini. We also implemented a simple "Report an Issue" button within the app, allowing our community to help us flag and correct any inaccuracies, ensuring our content remains respectful and true.
Another hurdle was managing the real-time state for our multiplayer games. Synchronizing timers, scores, and player actions across different devices with varying network latency was complex, but it pushed us to master WebSockets and efficient state management patterns.
Accomplishments that we're proud of
We are incredibly proud of successfully transforming a critical problem into a fun solution. Seeing our friends test the app, yelling and laughing during a heated "Tebak Berhadiah" while simultaneously learning about the philosophy behind the Keris dagger, was the ultimate validation.
Technically, we are most proud of our integration with the Gemini API. It's not just a bolt-on feature; it is the beating heart of our application. It gives Lokaltur a virtually limitless pool of content, ensuring that no two game sessions are ever the same and keeping the experience fresh and engaging for long-term play.
What we learned
This project was a journey of rediscovery, both technically and culturally. We learned the immense power of LLMs like Gemini to act as creative partners in development, not just data sources. We also learned that in building an app to teach others about Indonesian culture, we deepened our own appreciation and knowledge in ways we never expected. Most importantly, we learned that technology can be a powerful force for cultural preservation when guided by a genuine passion for the subject.
What's next for Lokaltur
The journey is far from over! We have a clear roadmap for the future of Lokaltur:
- Content Expansion: Adding new categories like regional languages (Bahasa Daerah), traditional architecture, and historical events.
- Multimodal AI: Leveraging Gemini's multimodal capabilities to create a new game where users can upload a photo of a food or fabric, and the AI identifies it and provides its cultural context.
- School & Community Partnerships: We aim to collaborate with educational institutions and cultural centers (sanggar budaya) to integrate Lokaltur as a fun, supplementary learning tool.
Built With
- gemini
- next.js
- react
- supabase
- typescript
Log in or sign up for Devpost to join the conversation.