Skip to content

podlite/podlite-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

463 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Podlite Web

static site generator powered by Podlite markup

npm License: MIT

Quick Start

yarn && yarn dev

Open http://localhost:3000 β€” demo site from pub directory.

Using Docker

docker run -it --rm -v ${PWD}:/app/pub -p 3000:3000 podlite/podlite-web dev

Edit index.pod6 and the page reloads automatically.

Export to static site

docker run --rm -v ${PWD}:/app/pub podlite/podlite-web export-zip > site.zip

Screenshots

Podlite-Web demo page Podlite-Web demo page

Features

  • static website generation with Next.js and Podlite markup
  • live reload on file save
  • embedded Podlite editor with live preview
  • =Mermaid diagrams, =picture images/video, =toc table of contents
  • =markdown blocks for familiar Markdown syntax
  • Docker support for zero-config setup
  • export to zipped static site

Examples

# minimal site
POSTS_PATH='examples/01-minimal' yarn dev

# multi-page with links
POSTS_PATH='examples/02-pages' yarn dev

# blog with notes and React components
POSTS_PATH='examples/03-blog' yarn dev

Advanced Configuration

  • custom domain: SITE_URL=https://example.com
  • timezone: TZ=Europe/London
  • custom content path: POSTS_PATH='path/to/content'
cd examples/01-minimal
docker run --rm -v ${PWD}:/app/pub -p 3000:3000 \
  -e 'SITE_URL=https://example.com' \
  -e 'TZ=Europe/London' \
  podlite/podlite-web export-zip > site.zip

Develop

# install dependencies
yarn

# run dev server
yarn dev

# export to zip
yarn export-zip > file.zip

Links

specification
implementation
publishing
desktop editor
resources

Podlite

Author

Copyright (c) 2022–2026 Alexandr Zahatski

License

Released under a MIT License.