Static showcase for community-made ZL2 custom homepage files. The site lists submitted works first, opens a full browser-side preview, and provides both source downloads and raw file links.
Vite + React + TypeScriptTailwind CSS+ shadcn-style UI components- Browser-side Markdown rendering with a lightweight ZL2 extension parser
- Static deployment target:
EdgeOne Pages - Mobile-first responsive layouts for gallery, detail, and editor pages
npm install
npm run devUseful commands:
npm run build:submissions
npm run validate:submissions
npm run buildUseful routes during local verification:
/
/works/monochrome-launcher
/editor
submissions/
<slug>/
manifest.json
page.md
cover.png
src/
generated/
pages/
components/
scripts/
Each work must live in its own directory under submissions/<slug>/.
Required files:
manifest.jsonpage.mdcover.pngor another image file referenced bycover
Required manifest.json fields:
{
"title": "Work title",
"author": "Creator name",
"description": "Short summary for the listing page",
"cover": "cover.png"
}Optional fields:
localecreatedAtupdatedAt
- Fork the repository.
- Create a new directory in
submissions/<slug>/. - Add
manifest.json,page.md, and a cover image. - Run
npm run validate:submissions. - Open a Pull Request using the provided template.
- Build output directory:
dist - Suggested environment variables:
VITE_GITHUB_OWNERVITE_GITHUB_REPOVITE_GITHUB_BRANCH
- Recommended custom domain:
custom.zalithlauncher.cn - Skills Repository:
https://github.com/leemwood/zl2-custom-page - This project uses
HashRouterfor EdgeOne static deployment compatibility. - Production routes should be accessed as:
/#//#/works/<slug>/#/editor
public/404.htmlis retained to redirect old clean-path visits such as/works/<slug>to the equivalent hash route.
- Route:
/#/editor - Features:
- Edit ZL2 Markdown source in the browser
- Preview rendered output in real time
- Copy source content
- Download the current Markdown as
.md