MaFuYu ❄️

Technologies:

  • Rust
  • Typescript
  • Go
  • SvelteKit
  • gRPC (+web)
  • NATS
  • Docker
  • Caddy
  • Postgres
  • Redb
  • Redis
  • GORM
  • SeaORM
  • Sentry
  • Tracing(Rust) + Zerolog(Go)
  • Clap + Indicatif (CLI)

Development:

There are features that work only with appropriate env secrets. They should be set, if you want to have these features enabled.

Features:

  • OAuth2 (Github, Google)
  • Email confirmation via Gmail
  • Telemetry (Sentry)

CLI

Quick start:

    # Init project: generate necessities
    bun initp

    # Run dev mode
    bun cli dev

Development:

    # Generate grpc files
    bun cli grpc
    # or more specific
    bun grpc:rs # for Rust
    bun grpc:go # for Go
    bun grpc:ts # for Typescript

    # Migrate db
    task db:migrate

Requirements:

    go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
    go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
    bun i -g @protobuf-ts/plugin

Top categories

Loading Svelte Themes