Skip to main content

hi Zoey

Say hello to zoey, a command line based Static Site Generator !

zoey is based on Python, and works on any Python installation above v3.6.x

Contents

Installation

  1. Install Python for your OS from here
  2. Ensure that Add Python to PATH checkbox during installation is checked.
  3. Open a command line of your choice, type pip install zoey and press enter ⏎

Voila, thats it ! zoey is installed and ready to go.

Getting Started

To create a new site, in your command line of choice, type zoey new site <site-name> This command generates a folder named <site-name>, with the following structure -

/<site-name>
├── config.py
├── /public
└── /src
    ├── /assets
    │   ├── /media
    │   └── style.css
    └── index.md

Folder structure explanation -

  1. config.py - This file holds certain configuration for your site.
  2. /src - This is the folder where you will be writing all the pages for your site in markdown .md format.
  3. /public - This is the folder, which will have the final html files, which you can directly copy and add to any hosting service of choice. The contents of this folder will be auto generated when the generator is run.

Core concepts

  1. Always make changes in the src directory only. No direct changes to be made to the public directory.
  2. group - A group is basically a folder inside src, which groups some pages together.
  3. page - A page is an individual markdown file, that will be converted to a HTML page.
  4. All multimedia files should be placed inside the src/assets/media folder only, and then suitably linkedin inside the markdown files.

Usage

  1. To create a new page -
    zoey new page <page-name>
    
    This creates a new page named page-name.md inside the src folder.
  2. To create a group -
    zoey new group <group-name>
    
    This creates a new folder named group-name inside the src folder.

    assets is a reserved keyword for group naming, and cannot be used to create any group

  3. To create a new page inside a group -
    zoey new page <page-name> --group <group-name>
    
    This creates a new page named page-name.md inside the group-name folder.
  4. To see the list of all groups -
    zoey groups
    
    This lists down all the groups that have been created.
  5. To generate the final site -
    zoey generate site
    
    This will populate the public directory which can be copied and added to any hosting provider of choice.

Hope you enjoy using zoey

zoey is the brainchild of Soumit Das To report bugs, please send a bug report, along with python and pip version number to me@soumit.in

Metadata

Release files for zoey 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zoey 0.4.0
File Size Uploaded Provenance
zoey-0.4.0.tar.gz 11.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zoey 0.4.0
File Interpreter ABI Platform
zoey-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / zoey-0.4.0.tar.gz

Download URL zoey-0.4.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e334dbf50293d81965f766343c7ba1faca8363b7df07daa099719c4c5ba18cec
BLAKE2b-256 checksum
How to use checksums
273d2f5c78507ec09ef1f99bd6c737bc175b352a099626f22f56b3eea2c0c787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / zoey-0.4.0-py3-none-any.whl

Download URL zoey-0.4.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fc66ea1e56782f04b7a0a7ad1c304bcdde85fd3f04cb3e9cc063fb140d4c1d3
BLAKE2b-256 checksum
How to use checksums
bffb87c4b12fe78ea3122c0e89c35a0259c4e4adf25d6a707e1b82f5f072ca5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Security for zoey 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page