You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Elijah Voigt bdf99b32c4 feat(quotesdb): add workers-rs WASM entry point to api binary
- Gate native Tokio/Axum main() with #[cfg(not(target_arch = "wasm32"))]
- Add #![cfg_attr(target_arch = "wasm32", no_main)] to suppress missing-main error
- Add #[worker::event(fetch)] entry point using worker::HttpRequest / http::Response<axum::body::Body>
- Enable `http` feature on worker dep so fetch handler uses standard http types
- Add axum (json+query features), tower-service, and http to wasm32 deps
- Move async-trait to shared [dependencies] so both targets have it
- Make db::d1 module pub so main.rs can access D1Repository on wasm32
- Fix worker::d1::Database → D1Database and PreparedStatement → D1PreparedStatement
- Add #[cfg_attr(target_arch = "wasm32", worker::send)] to all 7 handler fns
  so their futures satisfy Axum's Handler<Send> bound on single-threaded wasm32
3 months ago
.claude Initial commit 3 months ago
.gitea/workflows feat(quotesdb): implement API DB layer and all HTTP handlers 3 months ago
common docs: update wasm target note and add common Cargo.lock 4 months ago
edu docs: improve CLAUDE.md structure and clarity 3 months ago
nbd feat(nbd): scope nbd next/ready by dependency subtree (#818598) 3 months ago
quotesdb feat(quotesdb): add workers-rs WASM entry point to api binary 3 months ago
src Scaffolding for nbd cli 3 months ago
.envrc Initial commit 3 months ago
.gitattributes Initial commit 3 months ago
.gitignore Merge development flakes 3 months ago
CLAUDE.md docs: add shell conventions — no python3, always use jq 3 months ago
Cargo.lock Scaffolding for nbd cli 3 months ago
Cargo.toml Scaffolding for nbd cli 3 months ago
LICENSE-APACHE chore: initial repo scaffolding 4 months ago
LICENSE-MIT chore: initial repo scaffolding 4 months ago
PROJECTS.md docs(edu): add lisp-to-C compiler course with stubs and tickets [67e284] 3 months ago
README.md Initial commit 3 months ago
flake.lock chore(quotesdb): resolve all triage tickets and create implementation tickets 3 months ago
flake.nix Merge development flakes 3 months ago

README.md

Vibed

A mono-repo of CLI tools and self-contained HTTP web services built in Rust, targeting Cloudflare's edge platform.

  • Backend services run on Cloudflare Workers (via workers-rs + Axum).
  • Frontend applications compile to Wasm with Yew and deploy to Cloudflare Pages.
  • Data is stored in Cloudflare D1 (SQLite-compatible), with Turso for local development.
  • Infrastructure is managed with OpenTofu and the Cloudflare provider.

Services

Service Description
common Shared library crate — types, utilities, and definitions used across services

Services will be listed here as they are added.

Getting Started

Prerequisites

Setup

# Clone the repository
git clone https://gitea.elijah.run/pop/vibed.git
cd vibed

# Enter the dev shell (installs Rust, Trunk, OpenTofu, wrangler, etc.)
nix develop

The dev shell provides everything needed to build, test, and deploy all services.

Running a Service

# Backend
cd <service>
cargo run

# Frontend
cd <service>
trunk serve

Validation

Run from within a service directory, in order:

cargo fmt       # formatting
cargo check     # compilation
cargo clippy    # lints
cargo test      # tests

Repository Layout

vibed/
├── CLAUDE.md         # conventions and instructions for Claude Code
├── README.md         # this file
├── LICENSE-APACHE
├── LICENSE-MIT
├── flake.nix         # base Nix flake
├── common/           # shared library crate
└── <service>/        # each service is an independent Rust crate
    ├── src/
    ├── tests/        # integration tests
    ├── docs/         # PLANNING.md, ARCHITECTURE.md
    └── infra/        # OpenTofu infrastructure

See CLAUDE.md for full conventions, code style, and project documentation requirements.

License

Licensed under either of

at your option.

Disclaimer

This software is developed with the assistance of Claude Code by Anthropic.