Skip to content

zachatrocity/htmx-hyperscript-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

htmx-hyperscript-starter

A full stack starter go project using HTMX + Hyperscript + Pico.css with browser hot reloading and live reloading

Quick Start

Assuming you have go and gow installed you can simply do the following:

  • Click 'Use this template' button above or click here
  • Clone your repo
  • Run ./dev.sh

Preview

Boilerplate

Options

  • --port: specficy the port to run on

Motivation

There are quite a hodge podge of starter templates for the HTMX stack however most of them were very opinionated on frontend frameworks and many even leveraged the npm eco system which felt yucky to me.

Dependencies

  • Go
  • Gow (for live reload of .go code, browser code will still hot reload without gow)
  • aarol/reload for hot reload of the web browser

Optional Dependencies

  • Pico.css - put whatever css framework you would like in the index.html head

Roadmap

  • ✅ Add api boilerplate for backend API
  • ⬜ Add simple authentication flow

Repo

Source of truth for myself is on my sr.ht repo but I keep this up to date for the templating in Github

About

A starter project using HTMX + Hyperscript + Pico.css with browser hot reloading 🔥

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages