Public API definitions. Published at buf.build/unmango/apis.
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.)
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 dataGuild,Channel,Role,Member,User— server structureEmoji,Sticker,Webhook,Invite— guild assets and accessScheduledEvent,AutoModRule— configurationMessage,Attachment,Embed— message content
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 |