• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

hjue/JustWriting: markdown blog system

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

hjue/JustWriting

开源软件地址(OpenSource Url):

https://github.com/hjue/JustWriting

开源编程语言(OpenSource Language):

PHP 73.4%

开源软件介绍(OpenSource Introduction):

JustWriting

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

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.

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.

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

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.

Oneline Demo on SAE

Oneline Demo on OpenShift

If you have any questions, feel free to ask me.

中文版使用说明移步这里

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

Web Server Configuration

Themes for JustWriting

Write Articles

Head information

Put the head information at the beginning of the .md file.

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.

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

It also supports Jekyll head information.

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:

1. Sync with Dropbox client Automatically

If running Justwriting on VPS, suggest to update post through Dropbox. Installation Process

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.

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

Dropbox Create App

  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

3. Through API

Justwriting supports post through API.

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

Click here to check the API documents

Who uses JustWriting?

Contributors

License

Please see the file called LICENSE.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap