Skip to content
/ pywiki Public
forked from Erickrus/pywiki

basic implemention of Wiki

Notifications You must be signed in to change notification settings

tjnh05/pywiki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyWiki

PyWiki is a very basic implementation of Wiki. Users could view and modify their markdown files. All markdown files can be stored under repo directory and Users can organize them with sub-directories.

Installation

# clone the repository
git clone https://github.com/Erickrus/pywiki

# install required packages
sudo pip3 install -r pywiki/requirements.txt
# or 
pip3 install .
# or
python3 setup.py

# install mathjax
wget https://github.com/mathjax/MathJax/archive/2.7.5.zip
unzip 2.7.5.zip -d pywiki/static/js
rm 2.7.5.zip

Run

python3 pywiki.py

You can open with your browser and access http://localhost:8080/static/index.html

Usage

Browse

For normal md file, you can just browse it with url, put the relative path name e.g. /dir1/dir2/test.md.

If you want to go back, just click Back button.

Find

If you want to find by keywords, you can input find: keyword1 keyword2. Then hit enter to search.

Notice find is just search files one by one. The search engine is not leveraged yet. It could be slow when scale out.

Edit

In Edit tab, you will find the corresponding markdown in text format. It can be edited and saved.

About

basic implemention of Wiki

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.1%
  • HTML 19.2%
  • JavaScript 14.5%
  • CSS 4.2%