mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-27 16:57:44 +02:00
chore: complete ManaCore → Mana rename (docs, go modules, plists, images)
Final cleanup of references missed in previous rename commits: - Dockerfiles: PUBLIC_MANA_CORE_AUTH_URL → PUBLIC_MANA_AUTH_URL - Go modules: github.com/manacore/* → github.com/mana/* (7 go.mod files) - launchd plists: com.manacore.* → com.mana.* (14 files renamed + content) - Image assets: *_Manacore_AI_Credits* → *_Mana_AI_Credits* (11 files) - .env.example files: ManaCore brand strings → Mana - .prettierignore: stale apps/manacore/* paths → apps/mana/* - Markdown docs (CLAUDE.md, /docs/*): mana-core-auth → mana-auth, etc. Excluded from rename: .claude/, devlog/, manascore/ (historical content), client testimonials, blueprints, npm package refs (@mana-core/*). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6f4667c2a3
commit
22a73943e1
307 changed files with 2408 additions and 4537 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# mana-analytics
|
||||
|
||||
Feedback and analytics service. Extracted from mana-core-auth.
|
||||
Feedback and analytics service. Extracted from mana-auth.
|
||||
|
||||
## Port: 3064
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ Tables: user_feedback, feedback_votes
|
|||
|
||||
```env
|
||||
PORT=3064
|
||||
DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/mana_analytics
|
||||
DATABASE_URL=postgresql://mana:devpassword@localhost:5432/mana_analytics
|
||||
MANA_AUTH_URL=http://localhost:3001
|
||||
MANA_LLM_URL=http://localhost:3025
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
module github.com/manacore/mana-api-gateway
|
||||
module github.com/mana/mana-api-gateway
|
||||
|
||||
go 1.25.0
|
||||
|
||||
require (
|
||||
github.com/jackc/pgx/v5 v5.9.1
|
||||
github.com/manacore/shared-go v0.0.0
|
||||
github.com/mana/shared-go v0.0.0
|
||||
github.com/redis/go-redis/v9 v9.18.0
|
||||
github.com/rs/cors v1.11.1
|
||||
)
|
||||
|
|
@ -21,4 +21,4 @@ require (
|
|||
golang.org/x/text v0.29.0 // indirect
|
||||
)
|
||||
|
||||
replace github.com/manacore/shared-go => ../../packages/shared-go
|
||||
replace github.com/mana/shared-go => ../../packages/shared-go
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# mana-auth
|
||||
|
||||
Central authentication service for the Mana ecosystem. Rewritten from NestJS (mana-core-auth) to Hono + Bun.
|
||||
Central authentication service for the Mana ecosystem. Rewritten from NestJS (mana-auth) to Hono + Bun.
|
||||
|
||||
## Tech Stack
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ Central authentication service for the Mana ecosystem. Rewritten from NestJS (ma
|
|||
| **JWT** | EdDSA via Better Auth JWT plugin |
|
||||
| **Email** | Nodemailer + Brevo SMTP |
|
||||
|
||||
## Port: 3001 (same as mana-core-auth — drop-in replacement)
|
||||
## Port: 3001 (same as mana-auth — drop-in replacement)
|
||||
|
||||
## Better Auth Plugins
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
module github.com/manacore/mana-crawler
|
||||
module github.com/mana/mana-crawler
|
||||
|
||||
go 1.25.0
|
||||
|
||||
require (
|
||||
github.com/manacore/shared-go v0.0.0
|
||||
github.com/mana/shared-go v0.0.0
|
||||
github.com/PuerkitoBio/goquery v1.12.0
|
||||
github.com/jackc/pgx/v5 v5.9.1
|
||||
github.com/rs/cors v1.11.1
|
||||
|
|
@ -20,4 +20,4 @@ require (
|
|||
golang.org/x/text v0.35.0 // indirect
|
||||
)
|
||||
|
||||
replace github.com/manacore/shared-go => ../../packages/shared-go
|
||||
replace github.com/mana/shared-go => ../../packages/shared-go
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# mana-credits
|
||||
|
||||
Standalone credit management service for the Mana ecosystem. Extracted from mana-core-auth.
|
||||
Standalone credit management service for the Mana ecosystem. Extracted from mana-auth.
|
||||
|
||||
## Tech Stack
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ Standalone credit management service for the Mana ecosystem. Extracted from mana
|
|||
| **Framework** | Hono |
|
||||
| **Database** | PostgreSQL + Drizzle ORM |
|
||||
| **Payments** | Stripe (Payment Intents, Checkout Sessions) |
|
||||
| **Auth** | JWT validation via JWKS from mana-core-auth |
|
||||
| **Auth** | JWT validation via JWKS from mana-auth |
|
||||
|
||||
## Quick Start
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ bun run db:studio # Open Drizzle Studio
|
|||
|
||||
```env
|
||||
PORT=3061
|
||||
DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/mana_credits
|
||||
DATABASE_URL=postgresql://mana:devpassword@localhost:5432/mana_credits
|
||||
MANA_AUTH_URL=http://localhost:3001
|
||||
MANA_SERVICE_KEY=dev-service-key
|
||||
BASE_URL=http://localhost:3061
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Static landing page builder for organizations. Takes a JSON config, generates an
|
|||
## Architecture
|
||||
|
||||
```
|
||||
Admin Dashboard (Manacore Web)
|
||||
Admin Dashboard (Mana Web)
|
||||
│
|
||||
│ POST /api/v1/build { slug, config }
|
||||
▼
|
||||
|
|
@ -79,7 +79,7 @@ curl -X POST http://localhost:3030/api/v1/build \
|
|||
|
||||
## Configuration
|
||||
|
||||
The landing page config is stored in `organizations.metadata.landingPage` in mana-core-auth. The Admin UI in Manacore Web writes this config, then triggers the builder.
|
||||
The landing page config is stored in `organizations.metadata.landingPage` in mana-auth. The Admin UI in Mana Web writes this config, then triggers the builder.
|
||||
|
||||
### Config Structure (LandingPageConfig)
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ Both themes support `customColors` overrides for the primary color.
|
|||
|
||||
## Available Sections
|
||||
|
||||
All sections use shared components from `@manacore/shared-landing-ui`:
|
||||
All sections use shared components from `@mana/shared-landing-ui`:
|
||||
|
||||
| Section | Component | Description |
|
||||
|---------|-----------|-------------|
|
||||
|
|
@ -158,7 +158,7 @@ services/mana-landing-builder/
|
|||
|
||||
## Admin UI
|
||||
|
||||
The landing page editor lives in the Manacore web dashboard:
|
||||
The landing page editor lives in the Mana web dashboard:
|
||||
|
||||
- **Route**: `/organizations/[id]/landing`
|
||||
- **Components**: `apps/mana/apps/web/src/lib/components/landing/`
|
||||
|
|
@ -175,7 +175,7 @@ The editor provides a form-based interface where org admins can:
|
|||
1. Template directory is copied to a temporary working directory
|
||||
2. `config.json` is written with the section data from the landing config
|
||||
3. `theme.css` is generated from the selected theme + any custom color overrides
|
||||
4. `pnpm install` runs to resolve `@manacore/shared-landing-ui` from the workspace
|
||||
4. `pnpm install` runs to resolve `@mana/shared-landing-ui` from the workspace
|
||||
5. `astro build` generates static HTML/CSS/JS in `dist/`
|
||||
6. `wrangler pages deploy` pushes to Cloudflare Pages as project `org-{slug}`
|
||||
7. Custom domain `{slug}.mana.how` is configured (if Cloudflare token is set)
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ export default () => ({
|
|||
accountId: process.env.CLOUDFLARE_ACCOUNT_ID,
|
||||
},
|
||||
orgLandingDomain: process.env.ORG_LANDING_DOMAIN || 'mana.how',
|
||||
manaCoreAuthUrl: process.env.MANA_AUTH_URL || 'http://localhost:3001',
|
||||
manaAuthUrl: process.env.MANA_AUTH_URL || 'http://localhost:3001',
|
||||
});
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ internal/
|
|||
1. Create `internal/plugins/mybot/mybot.go`
|
||||
2. Implement `plugin.Plugin` interface
|
||||
3. Register via `func init() { plugin.Register("mybot", func() plugin.Plugin { return &MyBot{} }) }`
|
||||
4. Import in `cmd/server/main.go`: `_ "github.com/manacore/mana-matrix-bot/internal/plugins/mybot"`
|
||||
4. Import in `cmd/server/main.go`: `_ "github.com/mana/mana-matrix-bot/internal/plugins/mybot"`
|
||||
5. Set env: `MATRIX_MYBOT_BOT_TOKEN=syt_xxx`
|
||||
|
||||
## Commands
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
module github.com/manacore/mana-matrix-bot
|
||||
module github.com/mana/mana-matrix-bot
|
||||
|
||||
go 1.25.0
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ mana-media provides:
|
|||
pnpm docker:up
|
||||
|
||||
# Create database
|
||||
PGPASSWORD=devpassword psql -h localhost -U manacore -d postgres -c "CREATE DATABASE mana_media;"
|
||||
PGPASSWORD=devpassword psql -h localhost -U mana -d postgres -c "CREATE DATABASE mana_media;"
|
||||
|
||||
# Install dependencies
|
||||
cd services/mana-media/apps/api
|
||||
|
|
@ -104,7 +104,7 @@ DELETE /api/v1/media/:id
|
|||
## Client Library
|
||||
|
||||
```typescript
|
||||
import { MediaClient } from '@manacore/media-client';
|
||||
import { MediaClient } from '@mana/media-client';
|
||||
|
||||
const media = new MediaClient('http://localhost:3050');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
module github.com/manacore/mana-notify
|
||||
module github.com/mana/mana-notify
|
||||
|
||||
go 1.25.0
|
||||
|
||||
require (
|
||||
github.com/jackc/pgx/v5 v5.9.1
|
||||
github.com/manacore/shared-go v0.0.0
|
||||
github.com/mana/shared-go v0.0.0
|
||||
github.com/prometheus/client_golang v1.22.0
|
||||
github.com/rs/cors v1.11.1
|
||||
)
|
||||
|
|
@ -26,4 +26,4 @@ require (
|
|||
google.golang.org/protobuf v1.36.5 // indirect
|
||||
)
|
||||
|
||||
replace github.com/manacore/shared-go => ../../packages/shared-go
|
||||
replace github.com/mana/shared-go => ../../packages/shared-go
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
module github.com/manacore/mana-search
|
||||
module github.com/mana/mana-search
|
||||
|
||||
go 1.25.0
|
||||
|
||||
require (
|
||||
github.com/manacore/shared-go v0.0.0
|
||||
github.com/mana/shared-go v0.0.0
|
||||
github.com/JohannesKaufmann/html-to-markdown/v2 v2.3.3
|
||||
github.com/go-shiori/go-readability v0.0.0-20251205110129-5db1dc9836f0
|
||||
github.com/prometheus/client_golang v1.22.0
|
||||
|
|
@ -31,4 +31,4 @@ require (
|
|||
google.golang.org/protobuf v1.36.5 // indirect
|
||||
)
|
||||
|
||||
replace github.com/manacore/shared-go => ../../packages/shared-go
|
||||
replace github.com/mana/shared-go => ../../packages/shared-go
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# ManaCore STT Service Configuration
|
||||
# Mana STT Service Configuration
|
||||
# Copy to .env and adjust values as needed
|
||||
|
||||
# Server
|
||||
|
|
|
|||
|
|
@ -126,10 +126,10 @@ Environment variables:
|
|||
|
||||
```bash
|
||||
# Service logs
|
||||
tail -f /tmp/manacore-stt.log
|
||||
tail -f /tmp/mana-stt.log
|
||||
|
||||
# Error logs
|
||||
tail -f /tmp/manacore-stt.error.log
|
||||
tail -f /tmp/mana-stt.error.log
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
|
|
|||
|
|
@ -3,17 +3,17 @@
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>com.manacore.mana-stt</string>
|
||||
<string>com.mana.mana-stt</string>
|
||||
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/bin/bash</string>
|
||||
<string>-c</string>
|
||||
<string>cd /Users/mana/projects/manacore-monorepo/services/mana-stt && set -a && source .env && set +a && .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 3020</string>
|
||||
<string>cd /Users/mana/projects/mana-monorepo/services/mana-stt && set -a && source .env && set +a && .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 3020</string>
|
||||
</array>
|
||||
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/Users/mana/projects/manacore-monorepo/services/mana-stt</string>
|
||||
<string>/Users/mana/projects/mana-monorepo/services/mana-stt</string>
|
||||
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
|
|
@ -3,17 +3,17 @@
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>com.manacore.vllm-voxtral</string>
|
||||
<string>com.mana.vllm-voxtral</string>
|
||||
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/bin/bash</string>
|
||||
<string>-c</string>
|
||||
<string>cd /Users/mana/projects/manacore-monorepo/services/mana-stt && ./scripts/start-vllm-voxtral.sh</string>
|
||||
<string>cd /Users/mana/projects/mana-monorepo/services/mana-stt && ./scripts/start-vllm-voxtral.sh</string>
|
||||
</array>
|
||||
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/Users/mana/projects/manacore-monorepo/services/mana-stt</string>
|
||||
<string>/Users/mana/projects/mana-monorepo/services/mana-stt</string>
|
||||
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# ManaCore STT Service Dependencies
|
||||
# Mana STT Service Dependencies
|
||||
# For GPU Server (NVIDIA RTX 3090 / CUDA)
|
||||
|
||||
# Web Framework
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# ManaCore STT Service Dependencies
|
||||
# Mana STT Service Dependencies
|
||||
# For Mac Mini M4 (Apple Silicon)
|
||||
|
||||
# Web Framework
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# mana-subscriptions
|
||||
|
||||
Subscription and billing service. Extracted from mana-core-auth.
|
||||
Subscription and billing service. Extracted from mana-auth.
|
||||
|
||||
## Tech Stack
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ Subscription and billing service. Extracted from mana-core-auth.
|
|||
| **Framework** | Hono |
|
||||
| **Database** | PostgreSQL + Drizzle ORM |
|
||||
| **Payments** | Stripe (Subscriptions, Billing Portal) |
|
||||
| **Auth** | JWT validation via JWKS from mana-core-auth |
|
||||
| **Auth** | JWT validation via JWKS from mana-auth |
|
||||
|
||||
## Port: 3063
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ Tables: plans, subscriptions, invoices, stripe_customers
|
|||
|
||||
```env
|
||||
PORT=3063
|
||||
DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/mana_subscriptions
|
||||
DATABASE_URL=postgresql://mana:devpassword@localhost:5432/mana_subscriptions
|
||||
MANA_AUTH_URL=http://localhost:3001
|
||||
MANA_SERVICE_KEY=dev-service-key
|
||||
STRIPE_SECRET_KEY=sk_test_...
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ pnpm dev:sync:build # Compile Go binary
|
|||
cd services/mana-sync
|
||||
go build -o server ./cmd/server
|
||||
JWKS_URL=http://localhost:3001/api/auth/jwks \
|
||||
DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/mana_sync \
|
||||
DATABASE_URL=postgresql://mana:devpassword@localhost:5432/mana_sync \
|
||||
./server
|
||||
```
|
||||
|
||||
|
|
@ -161,7 +161,7 @@ Indexes: `(user_id, app_id, created_at)`, `(table_name, record_id, created_at)`,
|
|||
|----------|---------|-------------|
|
||||
| `PORT` | 3050 | Server port |
|
||||
| `DATABASE_URL` | `postgresql://...localhost:5432/mana_sync` | PostgreSQL connection |
|
||||
| `JWKS_URL` | `http://localhost:3001/api/auth/jwks` | mana-core-auth JWKS endpoint |
|
||||
| `JWKS_URL` | `http://localhost:3001/api/auth/jwks` | mana-auth JWKS endpoint |
|
||||
| `CORS_ORIGINS` | `http://localhost:5173,...` | Comma-separated allowed origins |
|
||||
|
||||
## Testing
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
module github.com/manacore/mana-sync
|
||||
module github.com/mana/mana-sync
|
||||
|
||||
go 1.25.0
|
||||
|
||||
require (
|
||||
github.com/coder/websocket v1.8.12
|
||||
github.com/jackc/pgx/v5 v5.7.2
|
||||
github.com/manacore/shared-go v0.0.0
|
||||
github.com/mana/shared-go v0.0.0
|
||||
github.com/rs/cors v1.11.1
|
||||
)
|
||||
|
||||
|
|
@ -19,4 +19,4 @@ require (
|
|||
golang.org/x/text v0.21.0 // indirect
|
||||
)
|
||||
|
||||
replace github.com/manacore/shared-go => ../../packages/shared-go
|
||||
replace github.com/mana/shared-go => ../../packages/shared-go
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# ManaCore TTS Service Configuration
|
||||
# Mana TTS Service Configuration
|
||||
# Copy to .env and adjust values as needed
|
||||
|
||||
# Server
|
||||
|
|
|
|||
|
|
@ -185,12 +185,12 @@ voices/
|
|||
../../scripts/mac-mini/setup-tts.sh
|
||||
|
||||
# Service management
|
||||
launchctl list | grep com.manacore.tts
|
||||
launchctl unload ~/Library/LaunchAgents/com.manacore.tts.plist
|
||||
launchctl load ~/Library/LaunchAgents/com.manacore.tts.plist
|
||||
launchctl list | grep com.mana.tts
|
||||
launchctl unload ~/Library/LaunchAgents/com.mana.tts.plist
|
||||
launchctl load ~/Library/LaunchAgents/com.mana.tts.plist
|
||||
|
||||
# View logs
|
||||
tail -f /tmp/manacore-tts.log
|
||||
tail -f /tmp/mana-tts.log
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
|
|
|||
|
|
@ -3,17 +3,17 @@
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>com.manacore.mana-tts</string>
|
||||
<string>com.mana.mana-tts</string>
|
||||
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/bin/bash</string>
|
||||
<string>-c</string>
|
||||
<string>cd /Users/mana/projects/manacore-monorepo/services/mana-tts && set -a && source .env && set +a && .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 3022</string>
|
||||
<string>cd /Users/mana/projects/mana-monorepo/services/mana-tts && set -a && source .env && set +a && .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 3022</string>
|
||||
</array>
|
||||
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/Users/mana/projects/manacore-monorepo/services/mana-tts</string>
|
||||
<string>/Users/mana/projects/mana-monorepo/services/mana-tts</string>
|
||||
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# mana-user
|
||||
|
||||
User preferences, tags, and storage service. Extracted from mana-core-auth.
|
||||
User preferences, tags, and storage service. Extracted from mana-auth.
|
||||
|
||||
## Tech Stack
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ User preferences, tags, and storage service. Extracted from mana-core-auth.
|
|||
| **Runtime** | Bun |
|
||||
| **Framework** | Hono |
|
||||
| **Database** | PostgreSQL + Drizzle ORM |
|
||||
| **Auth** | JWT validation via JWKS from mana-core-auth |
|
||||
| **Auth** | JWT validation via JWKS from mana-auth |
|
||||
|
||||
## Port: 3062
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ Tables: tags, tag_groups, tag_links, user_settings
|
|||
|
||||
```env
|
||||
PORT=3062
|
||||
DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/mana_user
|
||||
DATABASE_URL=postgresql://mana:devpassword@localhost:5432/mana_user
|
||||
MANA_AUTH_URL=http://localhost:3001
|
||||
CORS_ORIGINS=http://localhost:5173
|
||||
```
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ Typical latency breakdown:
|
|||
|
||||
```bash
|
||||
# On Mac Mini
|
||||
cd ~/projects/manacore-monorepo/services/mana-voice-bot
|
||||
cd ~/projects/mana-monorepo/services/mana-voice-bot
|
||||
./setup.sh
|
||||
./start.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue