Inspiration
Many students depend on reliable internet access to manage assignments, deadlines, and school resources. We wanted to create a learning platform that still works when internet access is limited or unavailable.
LocalLearn was inspired by the idea of using a Raspberry Pi as a local school server, allowing students and teachers to stay connected through a nearby Wi-Fi network.
What it does
LocalLearn gives students a centralized place to manage their academic life. It includes:
- A dashboard for upcoming assignments and events
- A calendar with events, due dates, notes, and editing tools
- Assignment creation, editing, submission, and deletion
- Class and course information
- Multiple visual themes
- Offline-first local data storage
- File transfer to a Raspberry Pi over local Wi-Fi
- Synchronization between the mobile app and local school server
How we built it
We built LocalLearn with React Native, Expo, and TypeScript for the mobile application. SQLite stores data locally on the device so the app can continue working offline.
A Python REST API runs on the Raspberry Pi and uses SQLite for server-side data storage. The app communicates with the Pi through a local Wi-Fi connection, allowing users to synchronize information and send files without requiring internet access.
We used Expo SQLite, Expo DocumentPicker, Expo FileSystem, React Native SVG, Font Awesome, and EAS Build for Android distribution.
Challenges we ran into
One of our biggest challenges was designing reliable synchronization between the app’s local database and the Raspberry Pi server. We needed to ensure that assignments, events, and other changes would not be lost when the device was offline.
We also had to troubleshoot local network communication, including hostname resolution, port configuration, Android HTTP restrictions, file uploads, and differences between Expo web and native Android behavior.
Creating a user-friendly interface with multiple themes while keeping the app functional and readable across different screens was another challenge.
Accomplishments that we're proud of
We are proud that LocalLearn can operate as an offline-first learning platform instead of depending entirely on cloud services. The app combines a mobile interface, local device storage, a Raspberry Pi server, and local Wi-Fi communication into one system.
We are also proud of the integrated calendar and assignment system, the ability to edit and delete events, the file-transfer workflow, customizable themes, and the installable Android APK.
What we learned
We learned how to design an offline-first application using local databases and synchronization queues. We also gained experience building a React Native application for Android, creating a Python API, connecting mobile devices to a Raspberry Pi, and transferring files over a local network.
Most importantly, we learned that building reliable software is about more than creating individual features. The features must continue working together when the device is offline, the network changes, or the server is temporarily unavailable.
What's next for LocalLearn
Next, we want to improve automatic Raspberry Pi discovery so users do not need to configure an address manually. We also plan to add stronger authentication, encrypted connections, resumable file uploads, teacher grading tools, push notifications, and improved synchronization conflict handling.
Our long-term goal is to make LocalLearn a complete local learning platform that schools and communities can use even when internet access is unreliable or unavailable.