8000 GitHub - zamm-dev/buddy · GitHub
[go: up one dir, main page]

Skip to content
zamm-devPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

buddy

A Flutter app.

Setup

Install the Flutter SDK (on macOS: brew install --cask flutter), then fetch dependencies:

flutter pub get

Run

The app is Android-only and needs the server (below) running on the Mac, reachable over Tailscale:

flutter run -d <android-device> --dart-define=BUDDY_SERVER=http://<mac-tailscale-ip>:8787/

Use flutter devices to find the device ID.

Test

flutter test

Expected output ends with All tests passed!.

Server

The conversation backend in server/ runs on the Mac and uses your ChatGPT subscription through the Codex CLI's login. See AGENTS.md for the design.

codex login                     # once; writes ~/.codex/auth.json
cd server
HOST=<mac-tailscale-ip> dart run bin/server.dart

It listens on 127.0.0.1:8787 by default; set HOST to the Mac's Tailscale IP so the phone can reach it. History is kept in SQLite at ~/.buddy/buddy.db (override with BUDDY_DB). Tests: cd server && dart test.

Pre-commit hooks

Commits run these checks via pre-commit:

  • dart format — formatting
  • flutter analyze — linting / static analysis
  • mkdocs build --strict — documentation build validation (when docs/ changes)

Tests run in CI, not in the hooks.

Setup for new contributors:

pre-commit install && pre-commit install --hook-type post-commit

Run manually:

pre-commit run --all-files

Documentation

Project documentation lives in the docs/ directory (Material for MkDocs, managed with uv).

To run the documentation site locally:

cd docs
uv run mkdocs serve

License

TBD.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0