All Projects → forestryio → Create Static Site

forestryio / Create Static Site

Licence: mit
Create static websites with no build configuration.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Create Static Site

Awesome Static Hosting And Cms
A collection of awesome static hosting & CMS providers
Stars: ✭ 163 (+31.45%)
Mutual labels:  jekyll, hugo, static-site
Pendulum
A simple markdown editor for static files (Hugo, Nexo, Jekyll, MkDocs, ...)
Stars: ✭ 157 (+26.61%)
Mutual labels:  jekyll, hugo, static-site
Jamstackthemes
A list of themes and starters for JAMstack sites.
Stars: ✭ 298 (+140.32%)
Mutual labels:  jekyll, hugo
Forty Jekyll Theme
A Jekyll version of the "Forty" theme by HTML5 UP.
Stars: ✭ 695 (+460.48%)
Mutual labels:  jekyll, static-site
Hugo Theme Noteworthy
A minimalist Hugo theme for writers and bloggers
Stars: ✭ 119 (-4.03%)
Mutual labels:  hugo, static-site
medium-2-md
A CLI tool that converts exported Medium posts (html) to Jekyll/Hugo compatible markdown with front matter.
Stars: ✭ 113 (-8.87%)
Mutual labels:  jekyll, hugo
awesome-static-digital-libraries
Delightful Static Digital Library projects and resources
Stars: ✭ 23 (-81.45%)
Mutual labels:  jekyll, hugo
Ng Static Site Generator
ng-static-site-generator is a webpack-based command line build tool that builds an Angular app and Jekyll-style blog entry html files into a static html and css website. It also supports building a client app so you can have static pages that are also capable of running dynamic functionality coded in Angular.
Stars: ✭ 42 (-66.13%)
Mutual labels:  jekyll, static-site
dimension-jekyll-theme
A Jekyll version of the "Dimension" theme by HTML5 UP.
Stars: ✭ 29 (-76.61%)
Mutual labels:  jekyll, static-site
Jekyll Netlify Boilerplate
A simple Jekyll template for creating a fast, static website on Netlify
Stars: ✭ 62 (-50%)
Mutual labels:  jekyll, static-site
Hugo Boilerplate
A Hugo boilerplate for building modern websites
Stars: ✭ 58 (-53.23%)
Mutual labels:  hugo, static-site
Editorial Jekyll Theme
A Jekyll version of the "Editorial" theme by HTML5 UP.
Stars: ✭ 121 (-2.42%)
Mutual labels:  jekyll, static-site
hugo-theme-mixedpaper
A Hugo theme
Stars: ✭ 17 (-86.29%)
Mutual labels:  hugo, static-site
eventually-jekyll-theme
A Jekyll version of the "Eventually" theme by HTML5 UP.
Stars: ✭ 26 (-79.03%)
Mutual labels:  jekyll, static-site
Kiss
Stupidly simple Hugo blogging theme
Stars: ✭ 260 (+109.68%)
Mutual labels:  hugo, static-site
forever-jekyll
A simple, elegant & full featured Jekyll theme.
Stars: ✭ 26 (-79.03%)
Mutual labels:  jekyll, static-site
Jekyll Boilerplate
Helpful files to get started working on a new Jekyll website
Stars: ✭ 30 (-75.81%)
Mutual labels:  jekyll, static-site
Hugo Theme Basic
Basic site theme styled with minimal tachyons, syntax highlighting, and blog series configuration. 📦
Stars: ✭ 89 (-28.23%)
Mutual labels:  hugo, static-site
lens-jekyll-theme
A Jekyll version of the "Lens" theme by HTML5 UP.
Stars: ✭ 56 (-54.84%)
Mutual labels:  jekyll, static-site
jekyll-skeleton
Scaffolding to start with a Jekyll website
Stars: ✭ 27 (-78.23%)
Mutual labels:  jekyll, static-site

lerna All Contributors

Create Static Site

Create static websites with no build configuration.

Overview

npx create-static-site my-site --template hugo
cd my-site
npm start

(npx comes with npm 5.2+ and higher)

Then open http://localhost:3000/ to see your app.

Creating a Static Site

You’ll need to have Node >= 6 on your local development machine. You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.

To create a new app, run:

npx create-static-site my-site --template [template]

Replace [template] with either hugo or jekyll.

It will create a directory called my-site inside the current folder.
Inside that directory, it will generate the initial project structure and install the transitive dependencies:

my-site
├── LICENSE
├── node_modules
├── package.json
├── README.md
├── static-scripts.config.js
├── .browserslistrc
├── .eslintrc.yml
├── .gitignore
├── .postcssrc.js
├── .stylelintrc.yml
├── site/ # Depends on the static site generator
└── src/
    ├── css/
    │   ├── styles.css
    │   └── imports
    │       └── resets.css
    ├── img/
    │   └── svg/
    │       ├── bitbucket.svg
    │       ├── github.svg
    │       └── gitlab.svg
    └── js/
        ├── scripts.js
        └── imports/
            └── index.js

No configuration or complicated folder structures, just the files you need to build your site.
Once the installation is done, you can open your project folder:

cd my-site

Inside the newly created project, you can run some built-in commands:

npm start or yarn start

Jekyll users will need to run bundle install first

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

The page will automatically reload if you make changes to the code.

npm build or yarn build

Builds the site for production to the dist folder.

Philosophy

  • One Dependency: There is just one build dependency. It uses Webpack, Babel, ESLint, PostCSS, and other amazing projects, but provides a cohesive curated experience on top of them.

  • No Configuration Required: You don't need to configure anything. Reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.

  • No Lock-In: You can “eject” to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.

What's Included?

Your environment will have everything you need to build a modern static website:

  • A Static Site Generator (Jekyll or Hugo)
  • Language extras beyond ES6, like object spread operator.
  • Autoprefixed CSS
  • Hassle-free updates for the above tools with a single dependency.

The tradeoff is that these tools are preconfigured to work in a specific way. If your project needs more customization, you can "eject" and customize it, but then you will need to maintain this configuration.

Static Sites

Static sites are websites built using static, unchanging files. Because the content is static, delivering it to users requires no server processing time. This feature makes static sites incredibly fast and performant.

Static site generators are the modern way of building static sites. They convert simple, text-based content files in static files ready for the web.

They’re fantastic for developers because they are extremely fast, are built to work with version-control, and require little-to-no setup compared to existing monolithic CMS solutions like Wordpress.

Currently, create-static-site supports two static site generators:

  • Jekyll is the static site generator written in Ruby and created by GitHub founder, Tom Preston Werner.
  • Hugo is the static site generator written in GoLang and created by Steve Francia.

Contributing

We'd love to have your helping hand on create-static-site! See CONTRIBUTING.md for more information on what we're looking for and how to get started.

Contributors

Thanks goes to these wonderful people (emoji key):

💬 🎨 💡 🤔 👀 📢 🔧 💬 💡 🤔 🚇 👀 📢 🔧 🤔 🤔 📝 🤔 💻 📖
Adam

🐛

This project follows the all-contributors specification. Contributions of any kind welcome!

Acknowledgements

This project is greatly inspired by the wonderful create-react-app project.

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].