Nekohouse API and control tower.
  • Go 83.1%
  • PLpgSQL 16.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-16 22:33:28 -04:00
cmd 20260915 2026-09-15 03:44:39 -04:00
database unrooted from disroot 2026-09-16 22:33:28 -04:00
functionality unrooted from disroot 2026-09-16 22:33:28 -04:00
lib 20260915 2026-09-15 03:44:39 -04:00
models 20260915 2026-09-15 03:44:39 -04:00
nekomata unrooted from disroot 2026-09-16 22:33:28 -04:00
routes 20260915 2026-09-15 03:44:39 -04:00
.env.example 20260915 2026-09-15 03:44:39 -04:00
.gitignore 20260904 2026-09-04 20:55:48 -04:00
.onedev-buildspec.yml Initial commit 2026-05-30 19:51:38 -04:00
config.example.yml Initial commit 2026-05-30 19:51:38 -04:00
go.mod 20260904 2026-09-04 20:55:48 -04:00
go.sum 20260904 2026-09-04 20:55:48 -04:00
README.md 20260904 2026-09-04 20:55:48 -04:00
sqlc.yml unrooted from disroot 2026-09-16 22:33:28 -04:00


Nekomata API (nkm-api)

🚀 Requirements


⚡ Quick Start

  1. Install all requirements

  2. Copy config.example.yml to config.yml and update the config

  3. Install dependencies:

    go mod tidy
    
  4. Start the server:

    go run ./cmd/gen
    go run ./cmd/server
    # or with hot reload
    air
    

📚 API Docs

Interactive API documentation will be available at:

  • http://<base-address>/api/v1/docs

OpenAPI specification will be available at:

  • http://<base-address>/api/v1/openapi.json
  • http://<base-address>/api/v1/openapi.yaml

🔐 Permission Management

Permission Calculator

The project includes a command-line tool to help calculate permission values for user roles:

go run ./cmd/permissions

This interactive tool allows you to:

  • Select and deselect individual permissions
  • View the final uint64 permission value
  • See binary and hexadecimal representations
  • Get a human-readable list of selected permissions