Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days 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 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T10:24:55.000Z (almost 5 years ago)
- Last Synced: 2024-12-17T12:23:10.983Z (about 1 month 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 [![PyPI version](https://badge.fury.io/py/haumea.svg)](https://badge.fury.io/py/haumea) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/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
```