Lindex, a markdown document database indexer
Lindex is an indexer for the Linden Notes standard. Use Lindex together with the vim plugin Linny.vim.
Lindex is written in Crystal. It's fast.
Features
- Implements all features of Linden Notes 0.1.2
- Tested on Linux and macOS Mojave
Installation
With Homebrew
- brew tap mipmip/homebrew-crystal
- brew install lindex
From Source
- git clone https://github.com/mipmip/lindex
- cd lindex
- shards
- make build
Configuration
Make sure all files and directories exist.
Edit ~/.lindex.yml
---
root_path: ~/Dropbox/LinnyRoot
index_files_path: ~/.linny/index_files
Root_path is the folder containing /wiki
with all Linny-markdown-files
and /config
with all linny-l2 and linny-l3 config-files.
Usage
Run lindex make
to create index.
Run ````lindex make -c /path/to/different/config/lindex.yml
lindex - Linny Indexer
Usage:
lindex [command] [arguments]
Commands:
help [command] # Help about any command.
make # create index
version # show version
Flags:
-h, --help # Help for this command. default: 'false'.
Development
Run Specs
make run_spec
make run_coverage
Build
make build
Maintainer Documentation
To release a new version run crelease [VERSION]
Contributing
- Fork it (https://github.com/mipmip/lindex/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Pim Snel - creator and maintainer