GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HaydenGuo/GameWikiSoleTemplate: Single-repository Astro game wiki template

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
.agent/skills
.agent/skills
 
 
.agents/skills
.agents/skills
 
 
.github
.github
 
 
api
api
 
 
docs
docs
 
 
migrations
migrations
 
 
presets
presets
 
 
public
public
 
 
requirements
requirements
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
tools/anvil-ops
tools/anvil-ops
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
astro.config.ts
astro.config.ts
 
 
eslint.config.js
eslint.config.js
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
site.publish.example.json
site.publish.example.json
 
 
skills-lock.json
skills-lock.json
 
 
tailwind.config.mjs
tailwind.config.mjs
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

GameWikiSoleTemplate

这是一个基于 Astro 的游戏 Wiki 与攻略站 starter。游戏身份、文章、图片、多语言内容和部署配置维护在本仓库中;通用运行时代码、站点配置、示例内容和开发工具都在本仓库中。

单仓库源码

本 starter 将通用运行时代码与站点模板维护在同一仓库。

GameWikiSoleTemplate
├── 通用运行时:src/components、src/pages、src/lib、src/i18n、src/styles
├── Starter 配置:src/config、src/locales、.env.example
└── 示例内容:src/content、src/assets、public

所有代码均为本仓库内的普通源码文件。目录说明见 docs/starter-boundary.md。

本地运行

需要 Node.js 22 或更高版本,以及 pnpm。

pnpm install
pnpm dev

pnpm dev runs Astro's development server for layout and content work. Use pnpm dev:vercel to exercise root api/ Functions alongside the pages without linking a Vercel project. Do not copy production secrets into the repository.

要用具体游戏配置替换演示内容,请运行:

pnpm apply-template

GitHub → Vercel 部署说明见 docs/deployment.md;模板初始化说明见 docs/apply-template.md;撰写文章前请阅读 docs/content-format.md。仓库文档索引见 docs/README.md。

可按游戏气质选择四种全站标题字样式,见 docs/art-typography.md。

参与开发

修改模板代码前,请阅读 AGENTS.md 和 docs/development.md,并按项目说明运行适用的验证命令。

许可

MIT,详见 LICENSE。


GameWikiSoleTemplate

A single-repository Astro starter for game wiki and guide sites. Runtime code, site configuration, example content, and development tooling live together here.

Single-source codebase

This starter keeps its reusable runtime and site template in one repository.

GameWikiSoleTemplate
├── Reusable runtime: src/components, src/pages, src/lib, src/i18n, src/styles
├── Starter configuration: src/config, src/locales, .env.example
└── Example content: src/content, src/assets, public

All source directories are ordinary tracked files in this repository. See docs/starter-boundary.md for the source layout.

Local setup

Requirements: Node.js 22 or later and pnpm.

pnpm install
pnpm dev

Run pnpm apply-template to replace the demo site with a game's configuration. See docs/deployment.md for GitHub → Vercel setup, docs/apply-template.md for the initializer, and docs/content-format.md for article authoring. The documentation index is docs/README.md.

Contributing

Read AGENTS.md and docs/development.md before changing template code. Follow their relevant verification guidance.

License

MIT. See LICENSE.

About

Single-repository Astro game wiki template

gamewiki-sole-template.vercel.app

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.