Coder Social home page Coder Social logo

gityll's Introduction

gityll

gityll.club Because good things come in gityll packages.

Transform your issues into a blog. Using github issues as a CMS and Express as a web server.

Examples

Checkout the in-progress version of Gityll on my personal site. This is all generated from the issues page here.

Gityll issues

Link

Gityll is a customisable site generator using Github issues as a CMS and Express as a backend.

Setup Guide

To run Gityll I suggest using a VPS from DigitalOcean or AWS EC2.

  1. git clone https://github.com/aranscope/gityll
  2. cd gityll
  3. npm install
  4. npm start [port] [repo url]

Advanced

  1. cd gityll/templates
  2. customise these templates
  3. cd ../static
  4. customise the style.css
  5. cd ..
  6. npm start [port] [repo url]

Webhooks

Go to your repo on github then settings and webhooks.

Add a new webhook pointing to yourip/issue that will be triggered when an issue is updated or commented on.

This will mean posts can be updated without restarting the server.

Debugging

With certain hosts, ec2 for example, you may run into issues running on certain ports. In some cases you may need to run as sudo (but very rarely) or forward certain ports with your host.

Tags

Posts

These tags can be added anywhere in the template.html file.

title - the title of the post
body - the html content of the post
author - the author's name (assignee of the issue)
author_url - the author's github url
author_icon_url - the authors github profile icon
time - the time the post was last modified
tags - the tags for the post

Contents

These tags can be added anywhere in the contents.html file.

body - links to all of the posts, dependent on theme

What?

Let's give you a map from issues -> blog

issue title -> post title
issue tags -> post category tags
issue assignee -> post author
issue text -> post text

Features

Current

  • markdown -> html support
  • html templates for posts and contents
  • milligram.github.io css support
  • author links and profile images
  • post topic tags
  • fully hacky CMS using github issues

Proposed

  • proper syntax highlighting for code blocks
  • filtering by tag
  • full github flavoured markdown support
  • username.github.io auto export
  • express support
  • and probably much more...

Issues

The current version is mostly hacked together. You can see of the proposed changes in the issues section, or, at the gityll generated page. gityll issues.

Attribution

BetterMotherFuckingWebsite - Basis of the alt theme.

Pixyll - Heavily inspired theme.

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.