All Projects → natemoo-re → Microsite

natemoo-re / Microsite

Licence: mit
Do more with less JavaScript. Microsite is a smarter, performance-obsessed static site generator powered by Preact and Snowpack.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Microsite

11tyby
Simple 11ty setup using TypeScript, SASS, Preact with partial hydration, and other useful things. Aims to provide the DX of Gatsby, but using 11ty!
Stars: ✭ 38 (-93.99%)
Mutual labels:  static-site-generator, preact, css-modules, static-site
Skeleventy
A skeleton boilerplate built with Eleventy.
Stars: ✭ 318 (-49.68%)
Mutual labels:  static-site-generator, static-site
Verless
A simple and lightweight Static Site Generator.
Stars: ✭ 276 (-56.33%)
Mutual labels:  static-site-generator, static-site
Headlesscms.org
Source for headlesscms.org
Stars: ✭ 628 (-0.63%)
Mutual labels:  static-site-generator, static-site
TechFusionFM
Static site for tech podcast built using Hexo.io with deployment script, XML escaper and iTunes rank tracking Telegram bot.
Stars: ✭ 20 (-96.84%)
Mutual labels:  static-site-generator, static-site
simply-static-deploy
WordPress plugin to deploy static sites easily to an AWS S3 bucket.
Stars: ✭ 48 (-92.41%)
Mutual labels:  static-site-generator, static-site
Static Site Generators
A definitive list of tools for generating static websites.
Stars: ✭ 553 (-12.5%)
Mutual labels:  static-site-generator, static-site
contentz
Create Content, Get a Highly Optimized Website
Stars: ✭ 57 (-90.98%)
Mutual labels:  static-site-generator, static-site
Reshadow
Markup and styles that feel right
Stars: ✭ 343 (-45.73%)
Mutual labels:  preact, css-modules
Django Bakery
A set of helpers for baking your Django site out as flat files
Stars: ✭ 360 (-43.04%)
Mutual labels:  static-site-generator, static-site
Staticgen
Static website generator that lets you use HTTP servers and frameworks you already know
Stars: ✭ 628 (-0.63%)
Mutual labels:  static-site-generator, static-site
stacy
Website generator that combines content from Contentful CMS with Handlebars templates and publishes the website in Amazon S3.
Stars: ✭ 24 (-96.2%)
Mutual labels:  static-site-generator, static-site
jigsaw-blog-template
Starter template for a blog, using Jigsaw by Tighten
Stars: ✭ 75 (-88.13%)
Mutual labels:  static-site-generator, static-site
tinystatic
A tiny static website generator which is flexible and easy to use
Stars: ✭ 36 (-94.3%)
Mutual labels:  static-site-generator, static-site
Assemble
Community
Stars: ✭ 3,995 (+532.12%)
Mutual labels:  static-site-generator, static-site
Publii
Publii is a desktop-based CMS for Windows, Mac and Linux that makes creating static websites fast and hassle-free, even for beginners.
Stars: ✭ 3,644 (+476.58%)
Mutual labels:  static-site-generator, static-site
jekyll-skeleton
Scaffolding to start with a Jekyll website
Stars: ✭ 27 (-95.73%)
Mutual labels:  static-site-generator, static-site
jschr.io
The static website generator service behind jschr.io.
Stars: ✭ 70 (-88.92%)
Mutual labels:  static-site-generator, static-site
Gridsome Portfolio Starter
A simple portfolio theme for Gridsome powered by Tailwind CSS v1
Stars: ✭ 329 (-47.94%)
Mutual labels:  static-site-generator, static-site
Charge
⚡️ An opinionated, zero-config static site generator.
Stars: ✭ 368 (-41.77%)
Mutual labels:  static-site-generator, static-site


microsite

Read the docs | See the live examples | Join our Discord



microsite is a fast, opinionated static-site generator (SSG) built on top of Snowpack. It outputs extremely minimal clientside code using automatic partial hydration.

npm init microsite

Microsite is an ESM node package, so it needs to run in a Node environment which supports ESM. We support the latest version of node v12.x LTS (Erbium) — see Engines for more details.

Ensure that your project includes "type": "module" in package.json, which will allow you to use ESM in your project's node scripts.

Pages

Microsite uses the file-system to generate your static site, meaning each component in src/pages outputs a corresponding HTML file.

Page templates are .js, .jsx, or .tsx files which export a default a Preact component.

Styles

Styles are written using CSS Modules. src/global.css is, as you guessed, a global CSS file injected on every page. Per-page/per-component styles are also inject on the correct pages. They are modules and must be named *.module.css.

Project structure

project/
├── public/             // copied to dist/
├── src/
│   ├── global/
│   │   └── index.css   // included in every generated page
│   │   └── index.ts    // shipped entirely to client, if present
│   ├── pages/          // fs-based routing like Next.js
│   │   └── index.tsx
└── tsconfig.json

Acknowledgments

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].