commory-backend

Community

Ship a secure Commory Go backend API.

AuthorIsKenKenYa
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you build and maintain a reliable Commory server that can authenticate users, import and validate MsgLayer data, and expose a consistent mobile API without breaking the contract.

Core Features & Use Cases

  • JWT auth with secure password hashing and refresh rotation: Supports login, refresh, and logout while enforcing rate-limiting and one-use refresh tokens.
  • First-run setup wizard: Initializes admin user and setup status with migration-safe persistence.
  • MsgLayer import, validation, and querying: Validates MsgLayer payloads (including schema checks and additionalProperties constraints), then imports and serves timeline/search/threads/identities via bearer-auth routes.
  • File-backed storage with a storage provider abstraction: Enables predictable persistence-on-write and provider switching (e.g., JSON-file and SQLite adapters).

Quick Start

Implement your change by following the thin-handler pattern in backend/internal/api and verifying contract alignment with docs/mobile-api.md, then run go vet and go test in the backend directory.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: commory-backend
Download link: https://github.com/IsKenKenYa/Commory/archive/main.zip#commory-backend

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.