Socket
Socket
Sign inDemoInstall

go.astrophena.me/gen

Package Overview
Dependencies
3
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    go.astrophena.me/gen

gen is an another static site generator.


Version published

Readme

Source

gen

Work in Progress: gen is not finished and has many, many rough edges. I don't know when gen will be finished. Maybe never.

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 server
    

    Run with --help or -h for options.

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

Installation

From binary

Download the precompiled binary from releases page.

From source

  1. Install Go 1.14 if you haven't yet.

  2. Two installation options are supported:

    • Install with go get:

       $ pushd $(mktemp -d); go mod init tmp; go get go.astrophena.me/gen; popd
      

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

      Use GOBIN environment variable to change this behavior.

    • Install with make:

       $ git clone https://github.com/astrophena/gen
       $ cd gen
       $ make install
      

      make install installs gen by default to $HOME/.local/bin.

      Use PREFIX environment variable to change this behavior:

       $ make install PREFIX="$HOME" # Installs to $HOME/bin.
      

License

MIT © Ilya Mateyko

FAQs

Last updated on 11 May 2020

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