A Manifest V3 browser extension that shows a random Bhagavad Gita verse — chapter, verse number, and English meaning — every time you click it.
GHP landing https://chirag127.github.io/Gitanest/ · Repo https://github.com/chirag127/Gitanest
⭐ If this is useful, please star the repo — it helps others find it.
Gitanest is a tiny, dependency-free MV3 extension. Click its toolbar icon and the popup picks a random chapter (1–18) and a random verse within that chapter, fetches it from the public vedicscriptures.github.io API, and renders the Sanskrit slok alongside its English meaning. No build step, no tracking, no data stored.
flowchart LR
A[click toolbar icon] --> B[popup.html loads]
B --> C[script.js]
C --> D["pick random chapter 1–18<br/>+ random verse (exact counts)"]
D --> E["fetch vedicscriptures.github.io/slok/{ch}/{v}"]
E -->|JSON| F["render slok + English meaning"]
E -->|error| G["show connection error"]
The verse counts per chapter are hard-coded, so every random pick maps to a real verse. The extension only needs network access to the verse API (declared as host_permissions).
slok, and its English meaning.fetch).Gitanest/
├── manifest.json # MV3 manifest — action popup, icon, host_permissions for the verse API
├── popup.html # popup markup (verse + meaning placeholders)
├── style.css # popup styling
├── script.js # pick a random verse, fetch it, render or show an error
└── logo.png # 128px extension icon
chrome://extensions (or edge://extensions).No build or bundling is required — it is a static extension.
None. There are no environment variables or settings; the extension fetches from a fixed public API.
One of ~80 sites and tools in the oriz family. See blog.oriz.in.
Issues and PRs welcome. Keep it minimal and dependency-free.
Complete and stable (v1.0.0).
MIT © Chirag Singhal — chirag@oriz.in
Conventional commits are the changelog.