Skip to main content

Quick Start

Get LiteLog running in under 60 seconds.

1. Install

git clone https://github.com/yashnaiduu/Litelog.git
cd Litelog
go build -o litelog cmd/litelog/main.go

Optionally move to your PATH:

mv litelog /usr/local/bin/litelog

2. Start the server

./litelog start

The server starts on port 8080 and creates litelog.db automatically.

3. Send your first log

curl -X POST http://localhost:8080/ingest \
-H "Content-Type: application/json" \
-d '{"level": "INFO", "service": "my-app", "message": "hello litelog"}'

4. Query it

./litelog query "SELECT * FROM logs"

5. Watch logs live

Open a new terminal:

./litelog tail

Now send more logs and watch them appear instantly.

6. Open the dashboard

./litelog dashboard

Press q to quit.