All Projects → InkProject → Ink

InkProject / Ink

An elegant static blog generator

Programming Languages

javascript
184084 projects - #8 most used programming language
go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Ink

acblog
An open source extensible static & dynamic blog system. (an alternative tool with same features at StardustDL/paperead)
Stars: ✭ 60 (-93.68%)
Mutual labels:  static-site-generator, blog-engine
nera
A lightweight static site generator
Stars: ✭ 12 (-98.74%)
Mutual labels:  static-site-generator, blog-engine
gisture
A minimal and flexible blog generator based on GitHub Gist.
Stars: ✭ 24 (-97.47%)
Mutual labels:  static-site-generator, blog-engine
Hugo
The world’s fastest framework for building websites.
Stars: ✭ 55,899 (+5784.11%)
Mutual labels:  static-site-generator, blog-engine
Vuepress
📝 Minimalistic Vue-powered static site generator
Stars: ✭ 19,730 (+1976.84%)
Mutual labels:  static-site-generator, blog-engine
presta
Minimalist serverless framework for SSR, SSG, serverless APIs and more.
Stars: ✭ 89 (-90.63%)
Mutual labels:  static-site-generator, blog-engine
Zola
A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Stars: ✭ 7,823 (+723.47%)
Mutual labels:  static-site-generator, blog-engine
Jekyll
🌐 Jekyll is a blog-aware static site generator in Ruby
Stars: ✭ 43,803 (+4510.84%)
Mutual labels:  static-site-generator, blog-engine
Bridgetown
A Webpack-aware, Ruby-powered static site generator for the modern Jamstack era
Stars: ✭ 317 (-66.63%)
Mutual labels:  static-site-generator, blog-engine
Middleman Blog
Middleman : Blog Engine Extension
Stars: ✭ 317 (-66.63%)
Mutual labels:  static-site-generator, blog-engine
Nextein
A static site generator with markdown + react for Next.js
Stars: ✭ 825 (-13.16%)
Mutual labels:  static-site-generator, blog-engine
Assemble
Community
Stars: ✭ 3,995 (+320.53%)
Mutual labels:  static-site-generator, blog-engine
Notablog
Generate a minimalistic blog from a Notion table. [WIP]
Stars: ✭ 177 (-81.37%)
Mutual labels:  static-site-generator, blog-engine
wowchemy-hugo-themes
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, easily build with blocks! 创建在线课程,学术简历或初创网站。#OpenScience
Stars: ✭ 6,891 (+625.37%)
Mutual labels:  static-site-generator, blog-engine
Hyde
A Python Static Website Generator
Stars: ✭ 1,599 (+68.32%)
Mutual labels:  static-site-generator, blog-engine
minimal
Website and blog generator for Go, Node.js or Python
Stars: ✭ 94 (-90.11%)
Mutual labels:  static-site-generator, blog-engine
Eleventy
A simpler static site generator. An alternative to Jekyll. Transforms a directory of templates (of varying types) into HTML.
Stars: ✭ 10,867 (+1043.89%)
Mutual labels:  static-site-generator, blog-engine
Statiq.web
Statiq Web is a flexible static site generator written in .NET.
Stars: ✭ 1,358 (+42.95%)
Mutual labels:  static-site-generator, blog-engine
Verless
A simple and lightweight Static Site Generator.
Stars: ✭ 276 (-70.95%)
Mutual labels:  static-site-generator, blog-engine
Gostatic
Fast static site generator
Stars: ✭ 387 (-59.26%)
Mutual labels:  static-site-generator, blog-engine

Introduce

InkPaper is an static blog generator developed by Golang, No dependencies, Cross platform, Easy use, Fast build, Elegant theme.

release apm

InkPaper - An Elegant Static Blog Generator

Quick Start

  • Download & Extract Ink,Run ink preview

    Tips:Linux/macOS, use ./ink preview

  • Open http://localhost:8000 in browser to preview

Website Configuration

Edit config.yml, use format:

site:
    title: Website Title
    subtitle: Website Subtitle
    limit: Max Article Count Per Page
    theme: Website Theme Directory
    comment: Comment Plugin Variable (Default is disqus username)
    root: Website Root Path #Optional
    lang: Website Language #Support en, zh, ru, ja, Configurable in theme/lang.yml
    url: Website URL #For RSS Generating
    link: Article Link Scheme #Default Is {title}.html,Support {year},{month},{day},{hour},{minute},{second},{title} Variables

authors:
    AuthorID:
        name: Author Name
        intro: Author Motto
        avatar: Author Avatar Path

build:
    output: Build Output Directory #Optional, Default is "public"
    port: Preview Port
    copy:
        - Copied Files When Build
    publish: |
        Excuted command when use 'ink publish'

Writing

Create any .md file in source directory (Support subdirectory), use format:

title: Article Title
date: Year-Month-Day Hour:Minute:Second #Created Time,Support TimeZone, such as " +0800"
update: Year-Month-Day Hour:Minute:Second #Updated Time,Optional,Support TimeZone, such as " +0800"
author: AuthorID
cover: Article Cover Path #Optional
draft: false #If Draft,Optional
top: false #Place article to top, Optional
preview: Article Preview,Also use <!--more--> to split in body #Optional
tags: #Optional
    - Tag1
    - Tag2
type: post #Specify type is post or page, Optional
hide: false #Hide article,can be accessed via URL, Optional

---

Markdown Format's Body

Publish

  • Run ink publish in blog directory to automatically build and publish
  • Or run ink build to manually deploy generated public directory

Tips: When source directory changed,ink preview will automatically rebuild blog,refresh browser to update

Customization

Modify Theme

Default theme placed in theme folder, run npm install and npm run build to rebuild in this folder.

page page.html (article list) and article.html (article), use variable with Golang Template syntax.

New Page

Created any .html file will be copied to source directory, could use all variables on site field in config.yml.

Blog Migrate (Beta)

Support simple Jeklly/Hexo post convert, use:

ink convert /path/_posts

Build from source

Local Build

  1. Install Golang environment
  2. Run go get github.com/InkProject/ink, compile and get ink
  3. Run ink preview $GOPATH/src/github.com/InkProject/ink/template, preview blog

Docker Build (Example)

  1. Clone code git clone [email protected]:InkProject/ink.git
  2. Build image docker build -t ink . in source directory
  3. Run container docker run -p 8888:80 ink

Theme

Related Toturials

License

CC Attribution-NonCommercial License 4.0

Issue Report

https://github.com/InkProject/ink/issues

Change Log

  • [2018-07-27] Adds ink new command
  • [2017-02-25] Fix bugs and merge some PRs
  • [2016-07-11] Fix bugs and merge many PRs
  • [2015-08-15] Bug fix, support RSS feed, improve theme
  • [2015-07-04] Bug fix, improve theme, support top, i18n, subtemplate
  • [2015-06-04] Build more platform, add archive and tag page
  • [2015-03-01] Release first beta version

Develop Plan

  • Improve Theme
  • InkPaper Editor

They are using

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].