GithubHelp home page GithubHelp logo

pugo's Introduction

Pugo

pugo

A github/statical ultra-minimal website generator.

Pugo is intended to be a starting point for busy developers not having time to mess up with php/node/whatever frameworks.

You're encouraged to fork it and do your own enhancements, customization.

A live example of pugo is my personal website.

Why?

In 2013 I was in full 'Go' mode, most of my side project and a lot of my daily work involved Go. Being also an avid fan of Markdown and Github I decided to create a static website generator that I could use to present Markdown files in repositories as a HTMl web page that I would use in my personal website.

Eventually, spending most of my time working on work related projects I neglected my personal website and eventually decided to remove all of its content.

For posterity this is how https://andreadipersio.com/ds2key-srv would have looked like.

ds2key-srv-golang.pdf

Usage

./pugo --repo repositoryname --owner ownername --token githubtoken

Urls example:

Suppose you have the following repo:

myrepo
|---my-nice-article.md
|---another-nice-article.md
|---README.md

You get the following urls:

/                       -> README.md
/my-nice-article        -> my-nice-article.md
/another-nice-article   -> another-nice-article.md

Once you access a page, it get cached. To force a cache refresh use the refresh=True GET query.

/my-nice-article?refresh=True

pugo's People

Contributors

andreadipersio avatar

Watchers

James Cloos 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.