Giter VIP home page Giter VIP logo

gin-haskell's Introduction

gin-haskell

Do you want to use your github issues as a static website like this? Gin can help you!

Gin is a project written in haskell which can parser your posts and transform them to github issues automatically.

Features

โœ… Support Markdown grammar that Github supports (because I just upload your post with a few midifications ๐Ÿ˜œ)

โœ… Support creating and modifying your issues posts locally

โœ… Support LaTeX grammar

โœ… Support post tags

โœ… Support some extension grammars

There is an example.

Installation

Please install cabal or haskell-platform first.

git clone https://github.com/zeqing-guo/gin-haskell.git & cd gin-haskell
cabal sandbox init --only-dependencies
cabal install

Usage

โžœ  gin -h
Usage: gin [-inphv] [file]
  -i DIR   --init=DIR  Create a blog including a config file and an example post
  -n FILE  --new=FILE  Create a post
  -p       --publish   Publish new and modified posts on Github
  -h       --help      Print this help message
  -v       --version   Show gin's version

โžœ  gin -i blog
Copy data to blog

โžœ  cd blog 
โžœ  gin -n "a new post"
Create post/2015-12-12 a new post.md

โžœ  echo "\n> hello world" >> post/2015-12-12\ a\ new\ post.md
โžœ  gin -p 
Upload a new post...
All posts have been updated

Note that you need to fill the _config.yml file to make gin work.

You can get a github token from https://github.com/settings/tokens, and public_repo is enough.

You can insert your copyright statement using {{ copyright }}.

TODO List

  1. Test on Windows
  2. Improving performamce
  3. Refactoring

BTW, the name Gin is from Gintama (้Š€้ญ‚) which is a funny comic. I hope you'll like it ๐Ÿ˜ˆ

gin-haskell's People

Contributors

zeqing-guo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sguzwf

gin-haskell's Issues

gin

Gin is a static blog generator helping you publish your blog to your repository's issues on Github.

Now, let's have a glance at the basic styles: link,

strong, italic, deletion, insertion.


Header 1

Header 2

Header 3

Header 4

Header 5
Header 6
  • list item 1
  • list item 2
  • list item 3
  1. list item 1
  2. list item 2
  3. list item 3

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

This is an inline equation: E=mc^2

A big one:
\oint_{(x,y)\in C} x^3, dx + 4y^2, dy

-- Hello.hs
main :: IO ()
main = putStrLn "Hello World!"

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

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.