• Stars
    star
    629
  • Rank 71,454 (Top 2 %)
  • Language
    C
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A lightweight full-text index server with a focus on speed and efficiency.

Fist - (F)ull-(t)ext (i)ndex (s)erver

Slack Patreon CircleCI

Fist is a fast, lightweight, full-text search and index server. Fist stores all information in memory making lookups very fast while also persisting the index to disk. The index can be accessed over a TCP connection and all data returned is valid JSON.

Fist is still heavily under development. Not all features are implemented or stable yet.

Motivation

Most software that requires full-text search is not really that complicated and does not need an overly complex solution. Using a complex solution often times leads to headaches. Setting up Elasticsearch when Elasticsearch really isn't needed for the particular application costs more time and money to maintain.

This is where Fist comes in. Fist is intended to be extremely easy to deploy and integrate into your application. Just start the Fist server and start sending commands.

Build and start Fist server

make
./bin/fist
Fist started at localhost:5575

Run Tests

make test

Example Usage

Commands can be sent over a TELNET connection

Commands: INDEX, SEARCH, EXIT, VERSION, DELETE

telnet localhost 5575
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
INDEX document_1 Some text that I want to index
Text has been indexed
INDEX document_2 Some other text that I want to index
Text has been indexed
SEARCH I want to index
["document_1","document_2"]
DELETE I want to index
Key Deleted
SEARCH I want to index
[]
EXIT
Bye

Docker Usage

# Build image
docker build . -t fist:latest

# Run tests
docker run --rm -it fist test

# Run server and make volume for database
docker run -d --init --rm -p 5575:5575 -v /var/local/lib/fist fist

Key Features

  • Full text indexing and searching
  • Persisting data to disk
  • Compression of index file
  • Accessible over TCP connection

Client Libraries

NodeJS

Python

Go

Ruby

Contributors

More Repositories

1

Blunt

A CSS framework that helps with layouts and leaves your styling alone.
SCSS
620
star
2

HTTPLang

A scripting langauge to do HTTP routines.
Python
499
star
3

MatchBox

Project now called IonicBackup
Python
288
star
4

FlappyBird

A flappy bird clone for a speed-programming video. Made this in 72 minutes.
Python
222
star
5

arcanevm

A Fully Homomorphic Encryption Brainfuck virtual machine
Python
199
star
6

Hey

Hey is a terminal helper that allows you to execute commands using plain old English.
Python
104
star
7

Coffer

A lightweight platform for creating isolated and portable development environments
Python
91
star
8

LanderDB

An embedded database engine written in Python
Python
75
star
9

electron-react-boilerplate-minimal

An Electron + React boilerplate for minimalists using React Hooks.
JavaScript
74
star
10

zCoin

A different approach to the idea of a crypto currency.
Python
49
star
11

CryptoTracker

Create and track your crypto currency portfolio from the terminal
Python
45
star
12

SpaceInvaders

This is a Space Invaders clone created for a speed-coding video. This tool 1.5 hours to complete.
Python
43
star
13

Vault

A safe way to store passwords on your computer.
Python
29
star
14

Pong

Pong created in 30 minutes
Python
20
star
15

IonicBackup

Dropbox Clone - Total rewrite of MatchBox - Used for personal servers.
Python
19
star
16

Sperre

A peer-to-peer instant messaging protocol.
Python
18
star
17

flutter_app_name

Dart
14
star
18

DoodleJump

This project was made in 120 minutes for a YouTube speed code.
Python
13
star
19

Feather-Python

A light weight Python web framework.
Python
11
star
20

Ernie

The Ernie Programming Language
Python
11
star
21

HNLive

A live updating version of hacker news http://hnlive.cf
HTML
7
star
22

InputValidator

A small module that is used as an input validator for untrusted form data. Mainly meant to be used for validating data before being inserted into a database such as MongoDB.
Python
6
star
23

BlooCoin

A crypto-currency that uses a central server rather than a peer-to-peer network.
Python
5
star
24

voidpass

A flexible password manager for dealing with stateful and stateless password profiles.
Dart
5
star
25

IonicDB

IonicDB is a NoSQL Database Engine written in Python.
Python
4
star
26

Grass

Adds useful features to CSS
Python
3
star
27

Breakout

Python
3
star
28

Blink

Mini Language Interpreter In Python
Python
3
star
29

PySpider

A simple, hacky web crawler in Python.
Python
2
star
30

ScalaAlgorithmsAndDataStructures

Implementations of popular data structures and algorithms in Scala in order to learn Scala.
Scala
2
star
31

Template

Easy to use HTML/CSS framework to help kickstart your web development.
2
star
32

MIM

Max Instant Messager - Mini messaging server/client
Python
2
star
33

ByePy

Python Virus
Python
2
star
34

ByteMail

A Peer-to-peer Email System
Python
2
star
35

TinyShell

A tiny Linux shell created in C
C
2
star
36

PyProxyWeb

PyProxy Web Version
Python
2
star
37

InappropriateImageDetector

An algorithm that "learns" to recognize inappropriate content in pictures.
Python
2
star
38

CaptchaSolver

This uses Tesseract OCR and Python (PIL and PyTesseract) to solve captchas. Tested with Amazon Captchas.
Python
1
star
39

SpooktoberGameJam

Submission for the Spooktober game jam (https://itch.io/jam/spooktober-jam-2021). Project built with Godot.
GDScript
1
star
40

PyColors

A Python module that makes it easier to use Terminal/CMD text colors.
Python
1
star
41

Find

Quick File Finder in Python
Python
1
star
42

TiASM

A tiny assembly like language for attempting to learn how assembly works a little bit better.
Python
1
star
43

CentralChat

IM System
Python
1
star
44

WASD

Esolanguage Interpreter
Python
1
star
45

SFMLPong

Pong game created using C++ and SFML
C++
1
star
46

PyReloader

A tiny autoreloader for Python
Python
1
star
47

PyTradeBotLib

A Python trade bot that uses Selenium.
Python
1
star
48

MusicStream

A web API for streaming music, will eventually become an XBMC plugin.
Python
1
star
49

SFMLFlappyBird

Flappy Bird made with C++ and SFML
C++
1
star
50

PyVersion

Simple file transfer
Python
1
star
51

SlackerScript

A programming language for playing with numbers.
Python
1
star
52

Chater

Online voice chat
Python
1
star
53

PyTextingLib

Library for sending text messages with Python
Python
1
star
54

LocalBackup

A Python script for backing up local files to a local external drive.
Python
1
star
55

vimrc

My vimrc
Vim Script
1
star
56

an-os

Something that will resemble an OS at some point.
Assembly
1
star
57

ByteChat

Peer-to-Peer Chat Sytem Using TCP
Python
1
star
58

PrivateBackup

Personal file backup system that is easy to deploy and use.
Python
1
star
59

HTTPServerAndClient

A basic HTTP server and client written in Python
Python
1
star
60

ServerManager

A script that I created to manage a bunch of servers and accessing them via SSH.
Python
1
star
61

PyMail

An Email System In Python
Python
1
star
62

Warbora

A peer-to-peer chat system with encrypted data.
Python
1
star
63

MyMusicManager

A cool Pygame script for streaming music over the internet.
Python
1
star
64

BracesForPython

The simpler solution to pythonb
Python
1
star
65

FileUpload

Demonstration of file uploading, and downloading, using Flask and MongoDB
Python
1
star
66

ShaCoin

ShaCoin is a new take on Crypto Currencies that looks to take a different approach to Crypto Currencies. ShaCoin's predecessor is zCoin. ShaCoin is a fork of zCoin that includes many improvements that could not be added in a new version of zCoin.
Python
1
star
67

pgtera

A PostgreSQL extension for rendering the Tera HTML templating language.
Rust
1
star