Skip to content

CognitiveOS-Project/registry-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

registry-server

CognitiveOS .cgp package registry — a Go HTTP server for hosting, searching, versioning, and distributing cognitive patches with license/code unlock support.

API

Method Path Description
GET /v1/search?q= Search patches
GET /v1/patches/:name Get patch metadata
GET /v1/patches/:name/download Download .cgp archive
POST /v1/patches Publish new patch
PUT /v1/patches/:name/version Publish new version
GET /health Healthcheck

Authentication

  • Public: Read access for search, metadata, and download
  • Token-based: Publishing requires a valid token
  • Code unlock: Paid/supporter-only patches use unlock codes

Build

go build -o bin/registry-server ./cmd/registry-server

Storage

  • Filesystem-backed metadata store
  • Configurable patches directory

Related

Contributing

  1. Branch from development, not main
  2. Use topic branches: feature/<name>, fix/<name>, bugfix/<name>
  3. Open a PR to development with a clear title and description
  4. Merge via squash after review
  5. Changes flow to main via a release PR

See the SDLC repo for the full contribution guide, code review standards, and testing strategy.

Author

Jean MachucaGitHub · Sponsor

License

MIT

About

CognitiveOS .cgp package registry server — distributed package registry for cognitive patches. Hosting, versioning, search, and license/code unlock support for the CognitiveOS skill ecosystem

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages