npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bahaiwritings

v0.44.2

Published

The Baha'i Writings in JSON format

Downloads

18

Readme

bahaiwritings

The Bahá'í Writings in JSON format with supporting JSON Schema and meta-data.

Note that this repository used to host the web app now at bahai-browser; this repository has been reserved for the Bahá'í Writings and texts only.

See the web app in action, see some videos introducing the app, or see the repository for the web app.

Although the TextBrowser project for which this repository includes content is open sourced under the MIT license (as is the specific JSON formatting (and schema and meta-data files) of this repository), the contents of this data repository are under their own licenses and their copyright is retained. The usage terms of the Baha'i Writings are described at http://www.bahai.org/legal. The Qur'an and Bible translations (Rodwell/Sale and the King James) as well as the notes of Sale and Rodwell are in the public domain. The Baha'i translation cross-references are under the MIT license. Lights of Guidance is under its own copyright as is the Collins bibliography.

Installation

npm install bahaiwritings

Note that the schema files to which the included schema files belong are at https://github.com/bahaidev/textbrowser-data-schemas/tree/main/schemas.

To-dos

  1. Specific works

    1. Hidden Words

      1. Wiki links to Bahai9.com
    2. Aqdas

      1. Passages translated/excerpted by Shoghi Effendi

      2. For index, add links to other entries, serving as cross-reference

    3. Qur'an and Bible

      1. Re-build based on formatted copies so as not to lose visual distinguishability, e.g., Sale's many superscripts, etc.

      2. Parse an Arabic Qur'án into Rodwell's verses and all of the Rodwell/Sale and Bahá'í references into traditional versing

      3. There is a good amount of invalid XHTML in the JSON databases for the Qur'an and Bible (links w/o quotes) that would ideally be replaced (Tidy script?) as well as the XHTML and link locations in the Iqan copy (would just be nice to be clean and polyglot-friendly for any XHTML5 uses)

      4. Integrate from https://bahai-library.com/lippitt_bible_bahai_index.

    4. Collins

      1. Need to split Collins into own repo? (or describe terms)

      2. Upload newer Collins and fix any bugs in formatting.

      3. Add Collins language metadata for each field

      4. Lower priority: If implementing combining of fields, add Collins for this.

      5. Add any other reasonable browse_options

    5. Other works

      1. Encode more Writings into TextBrowser JSON

Testing

You will first need to run npm install.

The syntax used in the tests currently only works in a modern browser. Note that this may lock up your terminal as the validator must load and process all of the files (including child files):

npm test

You can also run the browser tests via npm start (from http://127.0.0.1:8082/test/). Note, however, that this may lock up the browser as there are many files to load.

Background

For background of this project, see TextBrowser's History section.

Justification

While there was a letter from the international governing body of the Bahá'í Faith (online at http://bahai-library.com/uhj_interlinear_writings_cta), suggesting that interlinear publications are not necessary for the Bahá'í Writings, I do not think that this guidance pertains to our project for the following reasons:

  • The context appears to be more about official print publications which would need to justify resources being spent on such specialized text versions. The original question refers to Publishing Trusts and the response speaks of "all other readers" (besides those comparing with the Persian/Arabic originals) being distracted, whereas online, there are minimal (and non-official) resources being spent to provide the works, so there is no concern for distraction of other readers (and those using our TextBrowser-based tool can indeed selectively disable any column they wish).

  • Besides allowing those already familiar with English (or other translations) and Arabic/Persian, to confirm the original meaning, the availability of such interlinear tools allows for comparison by language learners who, although as per the letter, learning the original language is not required in the Bahá'í Faith, the learning of the original is very much praised as evident in the quotations at https://bahai9.com/wiki/Persian and https://bahai9.com/wiki/Arabic.

  • Our software tool is not confined to displaying translations multilinearly. For example, the version of the Qur'án herein included also provide notes which can be viewed interlinearly (from translators whose works were, at least for the time when translations into English were not as abundant, recommended for use or study by Bahá'ís), and study of such notes was even recommended by Shoghi Effendi. More such non-translation fields, including automated ones, are planned. And the tool can even be used for viewing merely the paragraph number and a single language of text. (While the notes of Rodwell were not recommended, and are indeed often antagonistic or skeptical of His Holiness Muhammad, they are provided largely for the sake of Biblical cross-references, and can be selectively omitted from view.)