4 minute read

I’ve been working on a small project that I’m happy to finally share: Dhammapada.at.

It is a website for reading, searching and sharing the Dhammapada, built with the kind permission of Windhorse Publications and Sangharakshita’s Literary Executors.

The site features Sangharakshita’s poetic translation, including notes and annotations. My aim here has been quite simple: make the text easier to access, easier to explore and easier to share.

Rather than making a plain digital copy of a book, I wanted something that reflects how one might actually use these verses today. Maybe you want to quickly look up a passage after a talk, send a verse to a friend, or find that one fragment you vaguely remember but cannot fully place.

It is also meant to complement the printed edition, not replace it. If the site helps more people discover the translation, and some of them also end up with the physical book in their hands, all the better.

Reading the TextPermalink

I wanted the reading experience to be simple and uninterrupted.

You can browse by chapter, open individual verses and move through the text without much friction. With 26 chapters and 423 verses, structure matters. One verse should lead naturally to the next, whether you are reading chapter by chapter, studying a specific section or just sitting down for a few quiet minutes with the text.

Referencing and SharingPermalink

One thing I cared quite a bit about was referencing.

If you want to quote or share a verse, the links should be short, predictable and easy to remember. The same content can therefore be reached through multiple URL variants.

Chapter examples:

Verse examples:

This means that verses can move quite naturally into conversations, emails or follow-up notes after a talk.

Random VersesPermalink

I also added a small feature that I personally enjoy: random verse access.

There is an endpoint at /random, and from the menu you can hit the die button to jump to a random verse. This can even work nicely as a browser start page if you want to begin the day with a new verse.

Search, Themes and Offline UsePermalink

Search covers the full text and chapter titles. It opens from the search button or with Cmd/Ctrl+K, and closes with Esc. Search assets are only loaded when needed.

There are also three themes: Modern, Scripture and Contemplative. Together with light/dark mode and remembered preferences, this makes the site feel a bit more personal without getting in the way of the reading.

Offline use is supported as well through a Progressive Web App. The homepage, offline page, canonical chapter routes and verse routes remain available without a connection. The shorthand and Pali-style aliases continue to work too, which was important to me.

Static First, but App-LikePermalink

The site is built static-first with Astro and deployed at Neltify, yet behaves much more like an app.

Search indexes, route variants, offline support and Open Graph images are all generated at build time. I like this approach quite a lot; hosting stays simple, while the site still gets features like deep linking, theming, offline reading and random verse access through /random.

Pre-generated Open Graph images also means that when a verse or chapter is shared in chat apps or emails, the previews are consistent and ready to go.

ClosingPermalink

The purpose of Dhammapada.at is to make the Dhammapada easier to access, study and share in daily life, while still supporting discovery of the printed edition.

If you want, take a look around the chapters, try the search with Cmd/Ctrl+K, open a few verse links or install it on mobile for offline reading. May it be of benefit.

And if these verses speak to you, I do recommend getting the physical book as well. It is a beautiful edition and a very good companion to bring on a meditaiton retreat: Dhammapada: The Way of Truth

Leave a comment

Your email address will not be published. Required fields are marked *

Loading...