Lindex, a markdown document database indexer

GitHub tag (latest by date) Build Status

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

Installation

With Homebrew

  1. brew tap mipmip/homebrew-crystal
  2. brew install lindex

From Source

  1. git clone https://github.com/mipmip/lindex
  2. cd lindex
  3. shards
  4. 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

  1. Fork it (https://github.com/mipmip/lindex/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors