Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndinata/mantram
a mobile-friendly library of buddhist mantrams/suttas.
https://github.com/ndinata/mantram
astro blog nom-parser react rust shadcn-ui tailwindcss wasm wasm-pack
Last synced: 3 days ago
JSON representation
a mobile-friendly library of buddhist mantrams/suttas.
- Host: GitHub
- URL: https://github.com/ndinata/mantram
- Owner: ndinata
- Created: 2024-04-22T12:15:38.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-27T12:20:13.000Z (13 days ago)
- Last Synced: 2024-12-27T12:27:30.351Z (13 days ago)
- Topics: astro, blog, nom-parser, react, rust, shadcn-ui, tailwindcss, wasm, wasm-pack
- Language: Markdown
- Homepage: https://mantram.blog/
- Size: 202 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mantram 📿
[mantram.blog](https://mantram.blog/) is a mobile-friendly compilation of
various Buddhist mantrams/suttas (真言).I built this site so that my family can recite mantrams on their phones more
easily. No more having to zoom and pan across blurry photos of book pages!All mantrams are available as Markdown files in ["src/content/posts"](./src/content/posts/).
For suggestions/corrections feel free to open an issue or email me :)
## tech stack
The site is built with [Astro](https://astro.build) and [shadcn-ui](https://ui.shadcn.com)
React components, and is deployed on GitHub Pages. The parser is implemented in
Rust (exposed via wasm).To run the project locally, you need to have the following installed:
- [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
- [rust toolchain](https://www.rust-lang.org/tools/install) + [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)```sh
$ git clone https://github.com/ndinata/mantram.git
$ cd mantram
$ wasm-pack build mantram-parser
$ npm install
$ npm run dev # starts a localhost dev server
```