refactor(services): rename Go services, remove -go suffix

mana-search-go → mana-search
mana-notify-go → mana-notify
mana-crawler-go → mana-crawler
mana-api-gateway-go → mana-api-gateway

Legacy NestJS versions are deleted, suffix no longer needed.
Updated all references in docker-compose, CLAUDE.md, package.json,
Forgejo workflows, and service package.json files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-28 10:18:40 +01:00
parent 79080d6654
commit 7e931b1c6d
90 changed files with 41 additions and 38 deletions

View file

@ -8,15 +8,18 @@ on:
push:
branches: [main]
paths:
- 'services/mana-search-go/**'
- 'services/mana-notify-go/**'
- 'services/mana-crawler-go/**'
- 'services/mana-api-gateway-go/**'
- 'services/mana-search/**'
- 'services/mana-notify/**'
- 'services/mana-crawler/**'
- 'services/mana-api-gateway/**'
- 'services/mana-sync/**'
- 'services/mana-matrix-bot/**'
pull_request:
paths:
- 'services/mana-*-go/**'
- 'services/mana-search/**'
- 'services/mana-notify/**'
- 'services/mana-crawler/**'
- 'services/mana-api-gateway/**'
- 'services/mana-sync/**'
- 'services/mana-matrix-bot/**'
@ -26,10 +29,10 @@ jobs:
strategy:
matrix:
service:
- mana-search-go
- mana-notify-go
- mana-crawler-go
- mana-api-gateway-go
- mana-search
- mana-notify
- mana-crawler
- mana-api-gateway
- mana-sync
steps:
- uses: actions/checkout@v4
@ -56,13 +59,13 @@ jobs:
strategy:
matrix:
include:
- service: mana-search-go
- service: mana-search
image: mana-search
- service: mana-notify-go
- service: mana-notify
image: mana-notify
- service: mana-crawler-go
- service: mana-crawler
image: mana-crawler
- service: mana-api-gateway-go
- service: mana-api-gateway
image: mana-api-gateway
steps:
- uses: actions/checkout@v4

View file

@ -134,13 +134,13 @@ manacore-monorepo/
│ ├── mana-user/ # User settings, tags, storage (Hono + Bun, extracted from auth)
│ ├── mana-subscriptions/ # Subscription billing (Hono + Bun, extracted from auth)
│ ├── mana-analytics/ # Feedback & analytics (Hono + Bun, extracted from auth)
│ ├── mana-search-go/ # Central search & content extraction (Go)
│ ├── mana-crawler-go/ # Web crawler service (Go)
│ ├── mana-search/ # Central search & content extraction (Go)
│ ├── mana-crawler/ # Web crawler service (Go)
│ ├── mana-llm/ # Central LLM abstraction service
│ ├── mana-landing-builder/# Org landing page builder (Astro → Cloudflare Pages)
│ ├── mana-media/ # Central media platform (CAS, thumbnails)
│ ├── mana-api-gateway-go/ # API gateway with rate limiting (Go)
│ ├── mana-notify-go/ # Notification service (Go)
│ ├── mana-api-gateway/ # API gateway with rate limiting (Go)
│ ├── mana-notify/ # Notification service (Go)
│ ├── mana-image-gen/ # Local AI image generation (FLUX)
│ ├── mana-stt/ # Speech-to-text service
│ ├── mana-tts/ # Text-to-speech service
@ -450,10 +450,10 @@ GET /metrics
```bash
# Start SearXNG + Redis for local development
cd services/mana-search-go && docker-compose -f docker-compose.dev.yml up -d
cd services/mana-search && docker-compose -f docker-compose.dev.yml up -d
# Start Go search service
cd services/mana-search-go && go run ./cmd/server
cd services/mana-search && go run ./cmd/server
```
#### Environment Variables
@ -933,9 +933,9 @@ Each project has its own `CLAUDE.md` with detailed information:
- `apps/chat/CLAUDE.md` - Chat API endpoints, AI models
- `apps/picture/CLAUDE.md` - AI image generation
- `services/mana-core-auth/` - Central authentication service
- `services/mana-search-go/CLAUDE.md` - Search & content extraction service (Go)
- `services/mana-crawler-go/CLAUDE.md` - Web crawler service (Go)
- `services/mana-notify-go/CLAUDE.md` - Notification service (Go)
- `services/mana-search/CLAUDE.md` - Search & content extraction service (Go)
- `services/mana-crawler/CLAUDE.md` - Web crawler service (Go)
- `services/mana-notify/CLAUDE.md` - Notification service (Go)
- `services/mana-llm/CLAUDE.md` - Central LLM abstraction service
- `services/mana-landing-builder/CLAUDE.md` - Org landing page builder service

View file

@ -321,8 +321,8 @@ services:
api-gateway:
build:
context: .
dockerfile: services/mana-api-gateway-go/Dockerfile
image: mana-api-gateway-go:local
dockerfile: services/mana-api-gateway/Dockerfile
image: mana-api-gateway:local
container_name: mana-api-gateway
restart: always
depends_on:
@ -357,8 +357,8 @@ services:
container_name: mana-core-searxng
restart: always
volumes:
- ./services/mana-search-go/searxng/settings.yml:/etc/searxng/settings.yml:ro
- ./services/mana-search-go/searxng/limiter.toml:/etc/searxng/limiter.toml:ro
- ./services/mana-search/searxng/settings.yml:/etc/searxng/settings.yml:ro
- ./services/mana-search/searxng/limiter.toml:/etc/searxng/limiter.toml:ro
environment:
SEARXNG_BASE_URL: http://searxng:8080
SEARXNG_SECRET: ${SEARXNG_SECRET:-change-me-searxng-secret}
@ -373,7 +373,7 @@ services:
mana-search:
build:
context: .
dockerfile: services/mana-search-go/Dockerfile
dockerfile: services/mana-search/Dockerfile
image: mana-search:local
container_name: mana-core-search
restart: always
@ -428,7 +428,7 @@ services:
mana-notify:
build:
context: .
dockerfile: services/mana-notify-go/Dockerfile
dockerfile: services/mana-notify/Dockerfile
image: mana-notify:local
container_name: mana-core-notify
restart: always
@ -460,8 +460,8 @@ services:
mana-crawler:
build:
context: .
dockerfile: services/mana-crawler-go/Dockerfile
image: mana-crawler-go:local
dockerfile: services/mana-crawler/Dockerfile
image: mana-crawler:local
container_name: mana-crawler
restart: always
depends_on:

View file

@ -254,9 +254,9 @@
"cf:login": "npx wrangler login",
"cf:projects:list": "npx wrangler pages project list",
"cf:projects:create": "echo 'Creating Cloudflare Pages projects...' && npx wrangler pages project create chat-landing --production-branch=main && npx wrangler pages project create picture-landing --production-branch=main && npx wrangler pages project create manacore-landing --production-branch=main && npx wrangler pages project create manadeck-landing --production-branch=main && npx wrangler pages project create zitare-landing --production-branch=main",
"dev:search": "cd services/mana-search-go && go run ./cmd/server",
"dev:crawler": "cd services/mana-crawler-go && go run ./cmd/server",
"dev:notify": "cd services/mana-notify-go && go run ./cmd/server",
"dev:search": "cd services/mana-search && go run ./cmd/server",
"dev:crawler": "cd services/mana-crawler && go run ./cmd/server",
"dev:notify": "cd services/mana-notify && go run ./cmd/server",
"questions:dev": "turbo run dev --filter=questions...",
"dev:questions:backend": "pnpm --filter @questions/backend dev",
"dev:questions:web": "pnpm --filter @questions/web dev",

View file

@ -1,5 +1,5 @@
{
"name": "mana-api-gateway-go",
"name": "mana-api-gateway",
"version": "1.0.0",
"private": true,
"description": "Go API Gateway replacing NestJS mana-api-gateway",

View file

@ -1,5 +1,5 @@
{
"name": "mana-crawler-go",
"name": "mana-crawler",
"version": "1.0.0",
"private": true,
"description": "Go web crawler replacing NestJS mana-crawler",

View file

@ -1,5 +1,5 @@
{
"name": "@manacore/mana-notify-go",
"name": "@manacore/mana-notify",
"version": "1.0.0",
"private": true,
"scripts": {

View file

@ -69,5 +69,5 @@ Uses the same `docker-compose.dev.yml` from `services/mana-search/` for SearXNG
cd services/mana-search && docker-compose -f docker-compose.dev.yml up -d
# Run Go service
cd services/mana-search-go && go run ./cmd/server
cd services/mana-search && go run ./cmd/server
```

View file

@ -1,5 +1,5 @@
{
"name": "@manacore/mana-search-go",
"name": "@manacore/mana-search",
"version": "1.0.0",
"private": true,
"scripts": {