All Projects → epilys → buke

epilys / buke

Licence: GPL-3.0 license
full text search manpages

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to buke

sqlite3
The fastest and correct module for SQLite3 in Deno.
Stars: ✭ 143 (+429.63%)
Mutual labels:  ffi, sqlite3
sqlite3-compression-encryption-vfs
Compression and Encryption Virtual File System for SQLite 3.
Stars: ✭ 88 (+225.93%)
Mutual labels:  sqlite3, vfs
manpages-zh
Chinese Manual Pages
Stars: ✭ 985 (+3548.15%)
Mutual labels:  manpage, manpages
docker-sqlite3
Sqlite3 command line in a docker container
Stars: ✭ 28 (+3.7%)
Mutual labels:  sqlite3
crystal-sqlite3
SQLite3 bindings for Crystal
Stars: ✭ 118 (+337.04%)
Mutual labels:  sqlite3
raspy-temperature-bot
This is a telegram bot hosted by a Raspberry Pi equipped with a temperature and humidity sensor. The bot is capable of sending plots and readings.
Stars: ✭ 31 (+14.81%)
Mutual labels:  sqlite3
codeX
CodeX is a platform which converts code into easy to understand language.
Stars: ✭ 46 (+70.37%)
Mutual labels:  sqlite3
cargo-valgrind
A cargo subcommand, that runs valgrind and displays its output in a helpful manner.
Stars: ✭ 66 (+144.44%)
Mutual labels:  ffi
sack.vfs
Node addon which adds a virtual file system interface; websockets; json(6) parsing; sql support(sqlite,odbc); javascript sched_yield; ssl certificate generation; more...
Stars: ✭ 29 (+7.41%)
Mutual labels:  vfs
purescript-node-sqlite3
Basic Purescript wrapper for node-sqlite3
Stars: ✭ 13 (-51.85%)
Mutual labels:  sqlite3
imessage-chatbot
💬 Recurrent neural network -- generates messages in your style of speech! Trained on imessage data. Sqlite3, TensorFlow, Flask, Twilio SMS, AWS.
Stars: ✭ 33 (+22.22%)
Mutual labels:  sqlite3
five-minute-midas
Predicting Profitable Day Trading Positions using Decision Tree Classifiers. scikit-learn | Flask | SQLite3 | pandas | MLflow | Heroku | Streamlit
Stars: ✭ 41 (+51.85%)
Mutual labels:  sqlite3
redirfs
A Linux file system filter based on redirfs
Stars: ✭ 27 (+0%)
Mutual labels:  vfs
pony-sodium
Safe Pony FFI wrapper for the libsodium cryptography library. 🐴 🔐
Stars: ✭ 24 (-11.11%)
Mutual labels:  ffi
poyonga
Python Groonga Client
Stars: ✭ 19 (-29.63%)
Mutual labels:  full-text-search
SynnixOS
Hobbyist Operating System targeting x86_64 systems. Includes userspace, Virtual File System, An InitFS (tarfs), Lua port, easy porting, a decent LibC and LibM, and a shell that supports: piping, file redirection, and more.
Stars: ✭ 40 (+48.15%)
Mutual labels:  vfs
paperless-ng
A supercharged version of paperless: scan, index and archive all your physical documents
Stars: ✭ 4,840 (+17825.93%)
Mutual labels:  full-text-search
burrow
burrow is a helper for building and managing a gopher hole
Stars: ✭ 43 (+59.26%)
Mutual labels:  manpage
versatile-data-kit
Versatile Data Kit (VDK) is an open source framework that enables anybody with basic SQL or Python knowledge to create their own data pipelines.
Stars: ✭ 144 (+433.33%)
Mutual labels:  sqlite3
imgui
Dear ImGui Addons Branch = plain unmodified dear imgui plus some extra addon.
Stars: ✭ 348 (+1188.89%)
Mutual labels:  sqlite3

buke full text search manpages

  • cargo run --release -- --build builds an sqlite3 database out of all manpages in your $MANPATH
  • cargo run --release -- "query" searches for "query" in the index

The sqlite3 C bindings were generated with bindgen. The sqlite3 database is gzipped in blocks with a custom VFS layer extension located in src/db/vfs.rs.

The gzip version is 42MiB compared to 117MiB uncompressed.

Use

First, build the database:

% ./target/release/buke --build
Wait patiently, this part wasn't optimized (or bothered with)
306/10689 done..^C

Then query:

% ./target/release/buke socket
systemd-socket-proxyd.8         - systemd-socket-proxyd - Bidirectionally proxy local soc
socket.7                        - socket - Linux socket interface
systemd.socket.5                - systemd.socket - Socket unit configuration
systemd-socket-activate.1       - systemd-socket-activate - Test socket activation of dae
socketcall.2                    - socketcall - socket system calls
socket.2                        - socket - create an endpoint for communication
dbus-cleanup-sockets.1          - dbus-cleanup-sockets - clean up leftover sockets in a d
socketpair.2                    - socketpair - create a pair of connected sockets
modbus_set_socket.3             - modbus_set_socket - set socket of the context
tipc-socket.8                   - tipc-socket - show TIPC socket (port) information
modbus_get_socket.3             - modbus_get_socket - get the current socket of the conte
socketmap_table.5               - socketmap_table - Postfix socketmap table lookup client
systemd-journald.socket.8       - systemd-journald.service, systemd-journald.socket, syst
[email protected]      - systemd-journald.service, systemd-journald.socket, syst
systemd-journald-audit.socket.8 - systemd-journald.service, systemd-journald.socket, syst

content matches:
packet.7    - packet - packet interface on device level
unix.7      - unix - sockets for local interprocess communication
raw.7       - raw - Linux IPv4 raw sockets
connect.2   - connect - initiate a connection on a socket
ss.8        - ss - another utility to investigate sockets
udp.7       - udp - User Datagram Protocol for IPv4
netstat.8   - netstat - Print network connections, routing tables, in
sock_diag.7 - sock_diag - obtaining information about sockets
vsock.7     - vsock - Linux VSOCK address family

Regular expression match if build with re feature (default) or if your sqlite3 version includes a REGEXP implementation:

% target/release/buke -r 'system_[^_]*_types'
system_data_types.7 - system_data_types - overview of system data types

content matches:
FILE.3      - system_data_types - overview of system data types
time_t.3    - system_data_types - overview of system data types
fenv_t.3    - system_data_types - overview of system data types
uint64_t.3  - system_data_types - overview of system data types
va_list.3   - system_data_types - overview of system data types
dev_t.3     - system_data_types - overview of system data types
size_t.3    - system_data_types - overview of system data types
float_t.3   - system_data_types - overview of system data types
uintN_t.3   - system_data_types - overview of system data types
ptrdiff_t.3 - system_data_types - overview of system data types
int16_t.3   - system_data_types - overview of system data types
ftm.7       - feature_test_macros - feature test macros
clockid_t.3 - system_data_types - overview of system data types
off_t.3     - system_data_types - overview of system data types
div_t.3     - system_data_types - overview of system data types
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].