2017 © Pedro Peláez
 

project justwriting

Markdown blog system

image

hjue/justwriting

Markdown blog system

  • Friday, February 26, 2016
  • by hjue
  • Repository
  • 35 Watchers
  • 524 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 91 Forks
  • 5 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

JustWriting

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Introduction

Justwriting is a simple blog platform. You just need the text written in Markdown, upload the .md file to website, and it will show .md files as posts on your website., (*2)

It can synchronize files to the server by Dropbox, so you don't have to care about losing your files when the server breaks, as all files can be stored on your local devices., (*3)

If you share the folder in Dropbox with others, all members can add or edit posts., (*4)

Of course, if you have problems to install Dropbox on servers, it also can upload files by FTP, SVN or git, or any other methods you can upload files with., (*5)

Oneline Demo on SAE, (*6)

Oneline Demo on OpenShift, (*7)

If you have any questions, feel free to ask me., (*8)

中文版使用说明移步这里, (*9)

, (*10)

, (*11)

Requirements

  • PHP 5.3.6+

Features

  • Simple blog platform
  • No need for an onlinetoc editor, just write your post offline on any device
  • No need for a database
  • Write with Markdown
  • Supports code highlighting
  • Supports Latex math equations
  • Supports Toc
  • Multiple themes
  • Supports updates via Dropbox
  • Supports post via API
  • Supports Jekyll post file

Installation

  1. Set blog settings in 'settings.php'
  2. Upload code to php space
  3. Upload your Markdown files to the 'posts' folder
  4. Open website, that's it.

Deploy With Docker

docker pull hjue/justwriting

JustWriting Docker Repo , (*12)

Web Server Configuration

Themes for JustWriting

Write Articles

Head information

Put the head information at the beginning of the .md file., (*13)

Date: 2014-12-31
Title: Post tilte
Intro: Post abstract
Tags: justwriting blog
Toc:yes
Status: public
Position: 1

Contents

The status can also be defined as draft, then this file will not appear on the website., (*14)

The Toc can control show the table of contents or not,accept yes or no., (*15)

It also supports Jekyll head information., (*16)

Add Posts

As Justwriting will convert any .md file in the posts folder to post, so you just need upload .md file to the servers through any ways. Here list some methods:, (*17)

1. Sync with Dropbox client Automatically

If running Justwriting on VPS, suggest to update post through Dropbox. Installation Process。, (*18)

2. Sync with Dropbox webhook URL

For virtual host user, it may not able to install Dropbox client, JustWritting provide a function to manually pull files from Dropbox., (*19)

  1. Create App
  • Generate access token
  • Add Webhook URI http://<your_justwriting_site>/sync/dropbox/download, (*20)

    Dropbox Create App, (*21)

    1. Configure params in settings.php:
$blog_config['dropbox']['key'],
$blog_config['dropbox']['secret'],
$blog_config['dropbox']['access_token']

http://your_justwriting_site/sync/dropbox/download is the URL for syncing posts, (*22)

3. Through API

Justwriting supports post through API., (*23)

If use the API, it need true on the option in settings.php, and set the API Key in it., (*24)

Click here to check the API documents, (*25)

Who uses JustWriting?

Contributors

License

Please see the file called LICENSE., (*28)

The Versions

26/02 2016

dev-master

9999999-dev https://github.com/hjue/JustWriting

Markdown blog system

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

markdown blog

29/08 2015

dev-develop

dev-develop https://github.com/hjue/JustWriting

Markdown blog system

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

markdown blog

20/01 2015

1.0.0

1.0.0.0 https://github.com/hjue/JustWriting

Markdown blog system

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

markdown blog