GithubHelp home page GithubHelp logo

no2key / justwriting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hjue/justwriting

0.0 3.0 0.0 4.32 MB

markdown blog system

Home Page: http://hjue.github.io/JustWriting/

License: MIT License

PHP 72.98% CSS 20.78% JavaScript 6.25%

justwriting's Introduction

JustWriting

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 a database
  • No need for an online editor, just write locally on any device
  • Write with Markdown
  • Supports code highlighting
  • Supports Latex math equations
  • Multiple themes
  • Supports updates via Dropbox
  • Supports post via API

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

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: Tags
Status: public

Contents

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

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.

justwriting's People

Contributors

hjue avatar jomo avatar xieyu33333 avatar yangjianlin-c avatar

Watchers

 avatar  avatar  avatar

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.