Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sangupta/webify
SPA-based static site generator.
https://github.com/sangupta/webify
Last synced: 4 days ago
JSON representation
SPA-based static site generator.
- Host: GitHub
- URL: https://github.com/sangupta/webify
- Owner: sangupta
- Created: 2024-04-13T16:42:48.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-14T17:50:41.000Z (7 months ago)
- Last Synced: 2024-04-16T11:17:29.698Z (7 months ago)
- Language: TypeScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webify
`webify` is a simple static site generator (SSG) that uses
markdown/HTML files to generate a Single Page Application
website utilizing JSON for content.## Difference with other SSG's
`webify` is different from almost all other SSG's because it
does not generate individual HTML files as output to be hosted.
Instead it generates a bunch of JSON files that are then consumed
by a Single Page Application (SPA, like a React application) to
render the entire site.Check out https://sangupta.com that is built using `webify`.
# Usage
```sh
$ npx @sangupta/webify {configFile} {distPath}
```where, `configFile` is the path to the `webify.json` file that
defines various build options, and `distPath` is the path to
the folder, where the output is written.**Note:** Once the site is built, you can use a SPA like
https://github.com/sangupta/skylight to render the site.# License
Apache License 2.0. Copyright (C) 2024, Sandeep Gupta.