Online Pāli Dictionary and Pāli Tipiṭaka implemented in Go programming language.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gopherjs
locale
setup
theme
.gitignore
.travis.yml
Makefile
README.rst
server.go
vfsb0x.yaml

README.rst

Pāli Dictionary and Pāli Tipiṭaka

https://travis-ci.org/siongui/paligo.png?branch=master

Re-implementation of Pāli Dictionary and Pāli Tipiṭaka in Go programming language.

Development Environment:

Re-implementation of Pāli Dictionary is almost finished. Pāli Tipiṭaka not yet.

Set Up Development Environment

  1. git clone the pali repository and data repository:

    # create a workspace in your home directory
    $ mkdir ~/dev
    # enter workspace
    $ cd ~/dev
    # git clone paligo repository
    $ git clone https://github.com/siongui/paligo.git --depth=1
    # or clone with full depth
    #$ git clone https://github.com/siongui/paligo.git
    # git clone data repository
    $ cd ~/dev/paligo
    $ make clone_pali_data
  2. Update Ubuntu and install following packages:


    $ cd ~/dev/paligo
    $ make update_ubuntu
    $ make download_go
    $ make install
  3. Set up data of this project:

    $ make po2mo
    $ make dir
    $ make html
    $ make scss
    $ make js
  4. Run development server at http://localhost:8000/

    $ make devserver

Deploy to GitHub Pages

See

Offline Data Processing (Optional)

# optional: parse dictionary books
$ make parsebooks

$ make parsewords

# optional: convert po files to json
$ make po2json

# optional: build succinct trie
$ make succinct_trie

# optional: create VFS (embed data in front-end Go code)
$ make lib_fileb0x
$ make vfsbuild

UNLICENSE

Released in public domain. See UNLICENSE.

References

[1]GitHub - siongui/pali: Pāḷi Tipiṭaka and Pāḷi Dictionaries
[2]siongui/data: Data files for Pāḷi Tipiṭaka, Pāḷi Dictionaries, and external libraries
[3]old implementation of Pāli Dictionary