百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
K

kun-galgame-forum

> 前端框架
开源

The CUTEST visualnovel / galgame forum! Built with Nuxt4, GO Fiber and PostgreSQL. Kun Visual Novel forum 6th generation! 开源, 免费, 零门槛, 最先进的 Galgame 论坛社区!

1.8K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

The CUTEST visualnovel / galgame forum! Built with Nuxt4, GO Fiber and PostgreSQL. Kun Visual Novel forum 6th generation! 开源, 免费, 零门槛, 最先进的 Galgame 论坛社区!

English | 日本語 | 简体中文 | 繁體中文

Contact us: Telegram | Discord

The image is sourced from the game Ark Order and features the character KUN (鲲).

AI-assisted development: Since version 5.1.0, this project has used LLM-assisted development tools, including Codex and Claude Code. All code through version 5.0.70 was written entirely by hand. The last fully hand-written revision is v5.0.70 (commit b4ad59e).

鲲 Galgame 论坛 (KUN Galgame Forum)

Website Introduction

鲲 Galgame is a community of people who love visual novels and Galgames. Its public sites include:

  • 鲲 Galgame 论坛 (this project)
  • 鲲 Galgame 表情包
  • 鲲 Galgame 开发文档
  • 鲲 Galgame 导航
  • 鲲 Galgame 补丁站
  • 鲲 Galgame 论坛状态页

For more information, visit About 鲲 Galgame.

Features

  • Visual novel catalog — Community submissions and review backed by the shared Catalog registry, with VNDB references, multilingual metadata, ratings, tags, engines, companies, and release information
  • Resource sharing — Game patches, translations, voice packs, and other resources with provider tracking plus platform and language filters
  • Discussion forum — Topics, replies, nested comments, polls, reactions, upvotes, favorites, drafts, and moderation workflows
  • Collaborative editing — Git-style proposals, review, revision history, reverts, and contributor credits through the Catalog editing engine
  • Private messaging and chat — Direct messages, contacts, read state, reactions, and recall support
  • Moemoepoint — An ecosystem-wide contribution score whose authoritative balance and ledger are owned by OAuth
  • Rich content editing — The shared KUN editor, built on Milkdown and CodeMirror, with KaTeX, syntax highlighting, mentions, and image uploads
  • Personalized appearance — Light and dark modes, configurable transparency, fonts, background images, and content-rating preferences
  • Search and discovery — Site-wide search across topics, replies, comments, users, and visual novels, plus rankings, activity feeds, release calendars, collections, and recommendations
  • SEO and feeds — Nuxt SSR, Schema.org metadata, chunked sitemaps, canonical redirects, and RSS feeds for topics and visual novels

Architecture

This repository is a pnpm workspace monorepo containing a Go API and a Nuxt frontend. It is a downstream application of nextmoe-infra, the identity and shared-service hub for the KUN ecosystem.

Package Responsibility
apps/api Go Fiber v3 BFF and REST API — owns forum data and interactions, enriches responses, talks to shared services, and runs scheduled synchronization jobs
apps/web Nuxt 4 SSR frontend — Vue pages, components, Pinia state, validation, SEO, and browser interaction; Nitro serves feeds, sitemap data, content-image handling, and legacy redirects

The forum owns topics, replies, messages, resources, ratings, quizzes, collections, toolsets, local counters, and its PostgreSQL schema. Shared capabilities remain single-sourced in infra:

Capability Source of truth
Identity and user profile OAuth; numeric user IDs stay identical across services
Browser authentication An opaque kungal_session cookie backed by Redis; OAuth tokens never live in browser storage
Moemoepoint balance and ledger OAuth; the forum keeps only a cached local view where required
Visual novel metadata, claims, and edit history Catalog; newly submitted works adopt the registry-issued work ID as their forum gid
Avatars and content images The content-addressed image_service
Galgame and resource comment threads The shared Community service
Reports and enforcement The shared Trust service
Toolset archives The shared Artifact service

The retired Galgame Wiki family is not a contract for new work. Some compatibility reads and notification surfaces remain temporarily while the catalog cutover finishes, but new submission, claim, review, and editing flows target Catalog.

Tech Stack

Layer Technology
Frontend Nuxt 4 + Vue 3 SSR (Nitro node-server)
UI @kungal/ui-nuxt and @kungal/ui-vue
Editor @kungal/editor-nuxt, Milkdown, and CodeMirror
Styling Tailwind CSS 4
State management Pinia with persisted state
Backend API Go 1.26 + Fiber v3
Database PostgreSQL through GORM, with explicit raw-SQL migrations and no AutoMigrate
Cache and sessions Redis
Search PostgreSQL for forum content; the shared Catalog service for visual novels and taxonomy
Authentication OAuth-backed BFF session with a 90-day sliding lifetime
Shared services Catalog, Community, Trust, Image, Artifact, and OAuth clients
Scheduler robfig/cron for daily maintenance and Catalog event synchronization
Validation and tests Zod, Vitest, Vue Test Utils, and Go tests
Deployment Docker images published to GHCR and deployed with Dokploy; legacy PM2 scripts remain available
Analytics Umami

Project Structure

…

Getting Started

Prerequisites: Node.js 24+ with Corepack, Go 1.26+, PostgreSQL, and Redis. Full local functionality also requires the OAuth, Catalog, Image, Artifact, Community, and Trust services from nextmoe-infra.

Start the local shared platform first:

bash
cd /path/to/nextmoe-infra
docker compose -f docker-compose.dev.yml --profile full up -d
# Optional: refresh the local databases with real-shaped, desensitized data.
./scripts/refresh-dev-db.sh

Then configure and start the forum:

bash
corepack enable
pnpm install

cp apps/api/.env.example apps/api/.env
cp apps/web/.env.example apps/web/.env

# Applies this repository's routine local migrations.
pnpm migrate

# API: http://127.0.0.1:2334, Web: http://127.0.0.1:2333
pnpm dev

The checked-in environment examples target the local infra stack. See the infra development-environment guide for service profiles, database refreshes, and local credentials. Cross-repository identity migrations have additional ordering requirements documented in docs/migration/user/README.md.

To run the forum in containers after the infra network is available:

bash
docker compose run --rm migrate
docker compose up -d kungal-api web

See docker/README.md for the complete container and deployment runbook.

Scripts

Command Description
pnpm dev Run API and Web together
pnpm dev:web / pnpm dev:api Run one application
pnpm build Build the Go API, then the Nuxt frontend
pnpm lint / pnpm lint:fix Check or fix frontend ESLint issues
pnpm typecheck Run the frontend vue-tsc check
pnpm -F web test Run frontend Vitest tests
pnpm test:api Run Go tests
pnpm vet Run go vet
pnpm format Format both applications with Prettier and gofmt
pnpm migrate / pnpm migrate:down Apply or roll back this repository's database migrations
pnpm prod:deploy / prod:start / prod:stop / prod:restart Run the legacy PM2 lifecycle scripts
pnpm prod:logs Follow legacy PM2 logs

Development Boundaries

  • Contract mirrors under docs/oauth/, docs/image_service/, and docs/artifact/ are generated and read-only. Change their sources in nextmoe-infra, then synchronize them through kungal-docs.
  • Database schema changes require a numbered migration in apps/api/migrations/; the API never runs GORM AutoMigrate at startup.
  • Frontend work should use KunUI components before introducing local replacements. KunUI itself is an upstream package and is not modified in this repository.
  • Keep fronte

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Godockerdokployforumgalgame

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架