Skip to content

unmango/apis

Repository files navigation

unmango/apis

CI Buf CI protobuf buf.build

Public API definitions. Published at buf.build/unmango/apis.

APIs

protofs

proto/dev/unmango/protofs

Models the Go io/fs filesystem interface over gRPC.

  • FileService — file-level operations (Read, Write, Stat, Truncate, Readdir)
  • FsService — filesystem-level operations (Chmod, Create, Open, Remove, Rename, etc.)

discord/backup

proto/dev/unmango/discord/backup

Schema for a complete backup/snapshot of a Discord server (guild). Captures everything needed to restore a server: structure, content, and configuration.

  • ServerBackup — top-level backup message containing all guild data
  • Guild, Channel, Role, Member, User — server structure
  • Emoji, Sticker, Webhook, Invite — guild assets and access
  • ScheduledEvent, AutoModRule — configuration
  • Message, Attachment, Embed — message content

Development

Requires Nix. Enter the dev shell:

nix develop   # or: direnv allow
Task Command
Build make or nix build
Format make fmt or nix fmt
Check make check or nix flake check
Lint protos buf lint
Generate code buf generate

About

Public API definitions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors