a-terra-forge
v0.2.0
Published
Universal document-oriented markdown site generator
Maintainers
Readme
a-terra-forge
Universal document-oriented markdown site generator

What is this?
Have you ever felt like writing documents that are somewhat organized, bit by bit? General blog systems are cumbersome to manage, and simple blog generators are primarily designed for writing "blogs," so documents tend to lack cohesion and can be hard for readers to follow smoothly.
"a-terra-forge" is a document site generator that allows you to organize and display documents by category, and track documents in progress chronologically on a timeline page. The site is built fully static, so no server code is required. Documents can be written in Markdown, and it also supports rich expressions such as:

Features:
- As a static site generator, no server is required. You can deploy and publish to any web server, such as GitHub Pages.
- The timeline page also statically generates the latest documents, while older articles use infinite scroll (on-demand loading).
- Documents are written in Markdown. Markdown supports syntax highlighting for code, card display for oEmbed/OGP sources, and Mermaid rendering by default.
- HTML rendering uses mark-deco, while page composition performs script-based processing via funcity. Therefore, pages can be highly customized.
- With the Vite plugin, you can write documents while previewing pages in your browser.
- Document management assumes Git. Document timestamps and author information are automatically collected from Git, so manual frontmatter management is mostly unnecessary. Document writing management can follow standard Git workflows and is suitable for users who regularly write code.
- Since everything is built with TypeScript/NPM, you can start using it immediately as long as Node.js is installed.
- Standard support for publishing information via sitemaps, RSS, and Atom is included.
- The default template assets deliver simple, modern pages using Bootstrap. Of course, it is flexible enough to use a completely different UI framework without Bootstrap.
How to use
Install a-terra-forge CLI interface via NPM:
$ npm i -g a-terra-forgeInitialize an editing space
$ atr initTo use the Vite plugin, run the following command once (the output may differ slightly):
$ npm i
added 306 packages, and audited 307 packages in 16s
152 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilitiesAfter that, you can preview by running the following command when you want to edit. Your system's default web browser will open automatically to display a preview of the site:
$ npm run devDocumentation
For detailed documentation and advanced features, please visit our GitHub repository.
License
Under MIT.
