Sutta Pitaka App (Work in Progress) – Feedback and Collaboration Welcome

Ah pre-loaded in this compressed SQLite DB, right? Kind of surprised the nikayas all fit into 2.7MB when compressed :eyes:

I’ve been thinking that SC’s back-end DB could be potentially optimized with an embedded DB too (avoiding network I/O and possibly reducing (de)serialization overhead), but would need to benchmark that

2 Likes

Yes, its compressed with zlib.

1 Like

Hey everyone,

It’s been a while, and I wanted to drop a proper update here.

A while back I went down a bit of a rabbit hole trying to build an offline PWA. But as @Snowbird and @agilgur5 pointed out, web browsers on phones just aren’t great for this sort of thing—the browser cache gets cleared randomly when phone storage gets tight, and handling large volumes of text in a mobile browser is clumsy at best.

You guys were completely right. So I scrapped the web experiment, went back to the drawing board, and rebuilt this as a true, dedicated offline Android app. I’m calling it Saddhamma.

It’s fully open-source now under GPL-3.0, and the whole idea is to let you read, search, and study the canon without needing any internet connection once it’s installed.

What it does now:

  • Actually offline: On first launch, it pulls down a compressed bundle (~16MB) from GitHub releases and unpacks it locally. After that, the entire Sutta Piṭaka (along with Vinaya and Abhidhamma) lives right on your phone.
  • Fast local search: Uses an embedded SQLite FTS5 database, so searching by UID (like mn10 or sn56.11) or searching keywords in English/Pāli is practically instant without pinging an external server.
  • Bilingual text: Side-by-side or stacked views with Bhikkhu Sujato’s English translations alongside the root Pāli (and fallbacks for Chinese/Sanskrit texts where available).
  • Private notes & highlights: You can bookmark suttas, highlight specific segments in a few colors, and jot down your own notes. Everything stays strictly on your device as local files—no accounts, no cloud sync, no tracking.
  • Text-to-Speech: Basic audio playback using your device’s built-in TTS engine if you prefer listening.
  • Meditation timer & daily check-in: Added a simple timer with bell chimes and a daily reflection check-in based on the Gradual Training (anupubbikathā). I’ve kept this intentionally simple and binary (just mindful reflection, no gamified streaks or scores).
  • Reading comfort: Dark mode, light mode, font size adjustment, and clean serif fonts.

Where to get it:

What’s next / What I’d love help with:

Now that the app is properly licensed and working offline, my next goals are:

  1. Submitting a build recipe to F-Droid.
  2. Adding an inline Pāli dictionary (so tapping a Pāli word shows a quick definition).
  3. Finding a clean way to support multi-tab reading on mobile, like Snowbird suggested earlier.

If anyone has a chance to install it and kick the tires, I’d really appreciate your feedback—especially if anything crashes or feels awkward to navigate.

Thanks again to everyone here whose comments pushed me to do this the right way!

3 Likes

So the main difference between these apps is that yours doesn’t modify Bhante Sujato’s translations?

Anyway, at some point it might be good to have a wiki for all the sutta apps/websites available out there, so that people can see what’s available before each embarking on their own project, especially nowadays that AI make software creation much easier.

3 Likes

Yes, exactly Bhante. In Saddhamma, I kept Bhante Sujato’s translations and the Pāli root texts completely untouched—no altered terms or custom translations. I wanted to stay strictly faithful to the canonical Bilara source.

Aside from that, the two projects just have very different focuses. Sutamaya looks like a really nice study tool for desktop and web, especially with the built-in DPD dictionary lookup. Saddhamma came out of my own frustration with mobile browsers—I just wanted a native app on my phone that works 100% offline, has fast local search that works on airplane mode, and keeps my notes and meditation timer private on the device.

I really like your idea about a wiki, too. It’s funny how many of us end up building our own tools without realizing what’s already out there! Between SC Express, EvamMeSutam, Sutamaya, and Saddhamma, people are building for totally different niches (static web, Linux/Qt, PWA, native Android). A simple wiki listing what each tool does, what platform it’s on, and whether it works offline would save a lot of people time and help folks find the right tool for their setup. I’d gladly help contribute to one if someone starts a thread for it.

And you’re definitely spot on about AI. It makes scaffolding an app deceptively quick, but wrestling with canonical text bundles, offline databases, and edge cases still takes plenty of human headache!

1 Like

I kinda not sure if a wiki is created, would they allow websites by known “enemy” of this forums to be listed, and sites containing AI translations. Well, most likely the AI translated sites are not allowed.

There’s also sutta central.now, study jhana and some others.

1 Like

There’s this on the front page for websites/apps built on SC:

I see that it’s fairly updated, but indeed it might be good to have a mirror of it as a wiki ok the forums.

Flagged websites wouldn’t be allowed, of course, neither would be AI translations.

There’s been quite a bit of useful apps not necessarily using SC data, so a wiki for those stuff would also be useful.

Let’s see. If no one steps up to the task, I might distract my busy schedule by setting up such wikis. :slight_smile:

1 Like

We have the tag tools.and.resources

3 Likes

Is there a reason you’re using ai to write your posts (this message) here as well? Just wondering as I thought it was a bit ironic, given the content

3 Likes

Yeah, you’re right. English isn’t my first language so I used AI to clean up my grammar, I usually just paste my rough thoughts into an AI to fix my English before posting. I’ll stick to my own words from now on

1 Like

Just to be explicit, AI-generated content is strictly banned on this forum (“AI policy”). Discussions should be between humans, without AI intermediaries.
It also looked like you used it for quite a bit more than just English grammar (that is why it was very noticeable); do keep in mind that Right Speech is also part of the policies on this forum.

Directly below that in the FAQ is about using translator apps and posting in your native language, which are allowed (to a limited extent) as described there. If you are uncertain about your English, you are welcome to use that route.

There is also the Sutta Companion app for iOS and Android, which is not FOSS as of yet though. It’s also categorized in the tools.and.resources tag

1 Like

Hey there! Creator of sutamaya here. I want to first of all thank you for the compliment, but also to clarify that sutamaya was designed mobile first in mind, so it is a mobile app, it syncs across all devices, including web. I am currently working on adding it to the Play Store and AppStore, and it works fully offline in airplane mode with search and all features included, today. So we had a similar intention in mind when we started.

1 Like