klihelp / stitches-template-generator

A web templates generator with functional css (tailwind.css)

Home Page:https://stitches.hyperyolo.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stitches

A simple, fast web app to generate html based on a collection of commonly used user interface patterns.

🎏 Live Site: stitches.hyperyolo.com

app-screen-shot

Running it locally

cd into stitches-template-generator and run:

npm install
npm start

This will compile the JS, CSS and start a node server on port 3000.

Head to localhost:3000. You should see stitches now!

Docker

You can also run it in Docker.

# Build the container
make build

# Run the node server
make run

Make your own templates

Feel free to take this project and re-factor to your need! Not everyone wants these templates for their projects. Here are the steps:

  1. Run the project locally (see the section above)
  2. Head to localhost:3000
  3. Add your own HTML template (with tailwind.css classes) into the templates folder
  4. Add a filter button for it in the index.html. (i.e. add <button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-<your template name>">Tabs</button>)
  5. Done! refresh to check out your own templates.

About

A web templates generator with functional css (tailwind.css)

https://stitches.hyperyolo.com


Languages

Language:CSS 58.7%Language:HTML 27.6%Language:JavaScript 13.3%Language:Makefile 0.2%Language:Dockerfile 0.1%