Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

not half baked! almost well done. ;)

License

NotificationsYou must be signed in to change notification settings

pythononwheels/medium.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

not half baked! almost well done. ;)

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

Mediumlike 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. Thecode,pyhton andjs buttons format code already prepared for highlight.js (right code, 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 theusable online Demo.

About

not half baked! almost well done. ;)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp