logflare

(โ˜… 1,003)

Never get surprised by a logging bill again. Centralized structured logging for Cloudflare, Vercel, Elixir and Javascript.

  • .dialyzer_ignore.exs
  • .dockerignore
  • .formatter.exs
  • .gcloudignore
  • .git-blame-ignore-revs
  • .gitignore
  • .iex.exs
  • .mailmap
  • .single_tenant_bq.env
  • .single_tenant_pg.env
  • .template.env
  • .tool-versions
  • AGENTS.md
  • architecture.md
  • Cargo.lock
  • Cargo.toml
  • CLAUDE.md
  • coveralls.json
  • DEVELOPMENT.md
  • docker-compose.gcp.yml
  • docker-compose.latest.yml
  • docker-compose.minio.yml
  • docker-compose.pg.yml
  • docker-compose.yml
  • Dockerfile
  • Dockerfile.base
  • Dockerfile.multi-step
  • Dockerfile.runner
  • LICENSE.md
  • Makefile
  • mix.exs
  • mix.lock
  • README.md
  • run.sh
  • VERSION

๐Ÿš€ Installation Guide

1. Get the code
git clone https://github.com/Logflare/logflare

Downloads the entire project code from GitHub to your computer.

cd logflare

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f docker-compose.gcp.yml up -d --build

Runs the command against the services defined in the compose file.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

3. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
cd assets

This project's files live in a subfolder, so move into it first.

npm install

Downloads and installs the libraries listed in package.json.

npm start

Starts the development/run server.

โœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

4. Rust

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
cargo build --release

Compiles the Rust project.

cargo run

Builds and then immediately runs the program.

โœ… If cargo build finishes without errors, it worked. The executable is created under target/.

5. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make

Compiles the code based on the generated build configuration to produce an executable.

โœ… If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation