GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pythononwheels/medium.py: not half baked! almost well done. ;)

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
database
database
 
 
handlers
handlers
 
 
migrations
migrations
 
 
models
models
 
 
static
static
 
 
stubs
stubs
 
 
tests
tests
 
 
views
views
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
__init__.py
__init__.py
 
 
alembic.ini
alembic.ini
 
 
application.py
application.py
 
 
config.py
config.py
 
 
create_10_articles.py
create_10_articles.py
 
 
decoders.py
decoders.py
 
 
encoders.py
encoders.py
 
 
generate_auth.py
generate_auth.py
 
 
generate_handler.py
generate_handler.py
 
 
generate_migration.py
generate_migration.py
 
 
generate_model.py
generate_model.py
 
 
generate_observer.py
generate_observer.py
 
 
generate_scaffold.py
generate_scaffold.py
 
 
init_sqldb_environment.py
init_sqldb_environment.py
 
 
pip-selfcheck.json
pip-selfcheck.json
 
 
powlib.py
powlib.py
 
 
requirements.txt
requirements.txt
 
 
server.py
server.py
 
 
tiny.db
tiny.db
 
 
update_db.py
update_db.py
 
 

Repository files navigation

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.

About

not half baked! almost well done. ;)

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.