https://github.com/guillbertrand/haumea
Free, fast, lightweight and easy-to-use python library to build static websites (SSG)
https://github.com/guillbertrand/haumea
api-rest graphql json python ssg static static-site static-site-generator website
Last synced: about 1 year ago
JSON representation
Free, fast, lightweight and easy-to-use python library to build static websites (SSG)
- Host: GitHub
- URL: https://github.com/guillbertrand/haumea
- Owner: guillbertrand
- License: mit
- Created: 2019-10-18T13:26:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T10:24:55.000Z (over 6 years ago)
- Last Synced: 2025-04-10T01:06:08.923Z (about 1 year ago)
- Topics: api-rest, graphql, json, python, ssg, static, static-site, static-site-generator, website
- Language: Python
- Homepage: https://haumea.io
- Size: 359 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# haumea [](https://badge.fury.io/py/haumea) 
Free, fast, lightweight and easy-to-use open-source library for building static websites. Transform your data (JSON, RESTful or GraphQL) into fast static websites
Documentation : https://haumea.io/
## Installation
```bash
$ pip install haumea
```
## Quickstart
You can create a skeleton project with the haumea-quickstart command
```bash
$ haumea-quickstart yourprojectname
```
```bash
yourprojectname
├── content # All content for your website will live inside this directory
│ └── (pages)
├── layouts # Stores .html templates files
│ └── partials
│ └── footer.html
│ └── header.html
│ └── head.html
│ └── _base.html
├── public # Your site will be rendered into this dir
└── static # Stores all the static content: images, CSS, JavaScript, etc.
```
Build & test your website
```bash
$ cd yourprojectname/
# builds your site any time a source file changes ans serves it locally
$ haumea serve
or
$ haumea s
```
Or just build
```bash
$ cd yourprojectname/
# performs build of your site to ./public (by default)
$ haumea build
or
$ haumea b
```