GithubHelp home page GithubHelp logo

medium.py's Introduction

medium.py

not half baked! almost well done. ;)

A small, self hosted, medium like python blogging toolset.

Medium like means that it mimics the style, UX, usabilty like inline editing ... using the great stuff out there like mediumish theme from wowthemes. The wonderful medium-editor.js which gives you the capability to edit the articles inline. The backend is served by PythonOnWheels. The superb tinyDB is used as a small simple, local full python DB.

Simple usage:

clone the repo

git clone https://github.com/pythononwheels/medium.py.git medium

Install the requirements:

pip install - r requirements.txt

start the server

python server.py

Thats it!

Everything else works online just as you know it from medium.

This is an impression of the article online edit mode:

You can see the inline medium like toolbar right there. You can also see that the selected text is currently formatted as H4. The code, pyhton and js buttons format code already prepared for highlight.js (right code class="", p and br removed ... after copy & paste)

article edit mode

This is the article admin view:

article admin mode

This is a website screenshot of a demo article in show mode:

This is also the demo article included in the bundle. The edit options on the left are only visible whe you are logged in.

article show mode

Check the Demo

Play around with the usable online Demo.

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.