Trayi is a website and content management system for small charities in Nepal and the UK, built with Django 6.1 and Wagtail 8.0. Supporters read appeals and news, pledge a gift and pay it (eSewa or Khalti, a QR code, or in person) and volunteer, in Nepali or English; the charity's team runs it all from the Wagtail admin. The demo charity, Brightwell Water Trust, is fictional. Every feature was built test-first with pytest.
Live site: https://16-192-118-94.sslip.io, running the demo content on AWS EC2.
Documentation: docs/: getting started, how each part of the site works,
running the live site, how to contribute, and the decisions behind it. What changed:
CHANGELOG.md.
Requires uv, which installs Python 3.14 if you don't have it.
uv sync
uv run python manage.py migrate
uv run python manage.py seed_demo # fictional charity content, safe to re-run
uv run python manage.py createsuperuser
uv run python manage.py runserverSite: http://localhost:8000 · Admin: http://localhost:8000/admin/ · API: http://localhost:8000/api/v2/pages/
Run the tests with uv run pytest. Getting started explains
each step and walks through a first change. Reviews are run with Claude Code and the
gstack skills (Reviews).
Pages in Nepali and English with a language switch, built from StreamField blocks; fundraising
appeals with targets and progress bars; a Donate page whose pledges supporters pay online with
eSewa or Khalti (payment providers are one file each, in nepal_payments/) and the team reads and
exports in the admin; news with tags, categories and an RSS feed; editor-built forms; partners
and testimonials; each charity's name, logo, colours and font style, previewed before saving; an
emergency banner; a consent flag on every photo; search, SEO, a read-only API and a moderation
workflow. The site describes each part, and
the overview lists the Wagtail features behind them.
- Brightwell Water Trust, its people, figures and registration numbers are fictional. The flood appeal describes a real flood and links to the Government of Nepal's relief fund instead of taking donations. Demo content has the details and the photo credits.
- Built with a feature-branch workflow; see the merged pull requests for the history of each feature.
Copyright (C) 2026 Dipesh Bajgain.
The code is free software under the GNU Affero General Public License v3.0 or any
later version. You may use, change and host it, for a fee too. If you change it and run it as a
website, offer its users your changed source. Two kinds of file aren't covered. The demo photos
in home/management/commands/demo_images/, and the screenshots in docs/screenshots/ that
show them, stay under their Unsplash and Pexels licences, listed in
Demo content. The eSewa and Khalti logos in
nepal_payments/static/payment-logos/ belong to those companies.
Decisions says why this licence.
Contributors sign a contributor licence agreement
once, when the bot asks on their first pull request.
