tiny-docs-se

Crates.iotiny-docs-se
lib.rstiny-docs-se
version0.1.0
sourcesrc
created_at2022-05-02 10:00:07.217073
updated_at2022-05-02 10:00:07.217073
descriptionDocs Search Engine
homepagehttps://github.com/fundon/tiny-docs-se
repository
max_upload_size
id578981
size67,616
Fangdun Tsai (fundon)

documentation

README

docs-se

Generates indexes from markdown files.

Required

Commands

  • cat sample.sql | sqlite3 docs.db

  • tiny-docs-se build --help

tiny-docs-se 0.1.0
Build sqlite db indexes from markdown files

USAGE:
    tiny-docs-se build --path <PATH> --locale <LOCALE> --version <VERSION>

OPTIONS:
    -h, --help                 Print help information
    -l, --locale <LOCALE>      locale
    -p, --path <PATH>
    -v, --version <VERSION>    version
RUST_LOG=debug cargo run -- build -p example/cn/v1.0 -l cn -v v1.0
  • tiny-docs-se server --help
tiny-docs-se 0.1.0
Run a search server for web

USAGE:
    tiny-docs-se server [OPTIONS]

OPTIONS:
    -h, --help           Print help information
    -p, --port <PORT>    port [default: 3030]
    -V, --version        Print version information
curl -X POST 127.0.0.1:3030 -H "Content-Type: application/json" -d '{"search": "rust", "locale": "cn", "version": "v1.0"}'

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Commit count: 0

cargo fmt