Socket
Socket
Sign inDemoInstall

go.astrophena.name/gen

Package Overview
Dependencies
6
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    go.astrophena.name/gen

gen is an another static site generator.


Version published

Readme

Source

gen

gen is an another static site generator.

Getting Started

  1. Install gen if you haven't yet.

  2. Create a new site:

     $ gen new mysite
    
  3. Change directory to mysite, build and serve the site locally:

     $ cd mysite
     $ gen build
     $ gen serve
    

    Run with --help or -h for options.

  4. Go to http://localhost:3000.

ProTip! You can use entr to automatically rebuild the site when changing files:

    $ while true; do find . -type f -not -path '*/\.git/*' | entr -d gen build; done

Installation

From binary

Download the precompiled binary from releases page.

From source

  1. Install the latest version of Go if you haven't yet.

  2. Install with go install:

     $ go install go.astrophena.name/gen@latest
    

    go install puts binaries by default to $GOPATH/bin (e.g. ~/go/bin).

    Use GOBIN environment variable to change this behavior.

License

MIT © Ilya Mateyko

FAQs

Last updated on 01 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc