GithubHelp home page GithubHelp logo

calebnance / feather-ssg Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 6.51 MB

feather static site generator

Home Page: https://feather-ssg.dev

License: MIT License

JavaScript 51.17% SCSS 38.96% Nunjucks 9.86%
ssg scss html nunjucks markdown css gulp gulp4 server static-site-generator

feather-ssg's Introduction

feather ssg (static site generator)

html/css/js + markdown + gulp automation + hot-reloading to create lightweight static sites

feather-ssg.dev


Features

  • Fast reload on all edits
  • QR code for physical mobile web app development (also with fast reload)
  • HTML + Nunjucks Templating with Layouts
  • SCSS => CSS
  • CSS & JS Minified
  • Dark Mode check with JavaScript (adds .dark-mode to body)
  • Markdown support + Front Matter for page data
  • Meta supported: title, description, canonical, robots, etc.
  • Next / Previous Posts generated (within it's category)
  • Relative / Absolute pathing handled for you
  • Sitemap.xml created
  • Build stats
    • Page count
    • CSS before and after minification
  • eslint/prettier

Roadmap

  • Local WYSIWYG Editor
  • Category support
  • Show HTML before and after sizes in build report
  • Use purgecss?
  • Theming (+ predefined palettes, scss variables and root css usage)

Install

run: yarn or yarn install

Development environment

  • start local server, run: yarn dev
  • stop local server: ctl + c

Production builds

create for Production deploy

  • run: yarn prod
  • creates: /static_prod/

Deploying to Vercel

  • Make sure you have Vercel CLI installed globally on your machine
  • then run: yarn prod to make sure you have all static files generated and ready for deployment
  • then run: vercel (this will prompt a login if you are not already)
  • going through the setup flow, make sure to set the directory your code is located to be: ./static_prod
  • side note, i've added a custom domain, (feather-ssg.dev) so to push to that domain i run: vercel --prod

Technologies Used

Helpful code editor packages

feather-ssg's People

Contributors

calebnance avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.