All Projects → oxalorg → smurf

oxalorg / smurf

Licence: other
simple markdown surfer

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to smurf

Myserver
MyServer is your own localhost web server. you can setup PHP, Apache, Nginx and MySQL servers on your android devices or linux like Ubuntu etc. MyServer is Developed for android terminal like Termux or GNURoot Debian terminal.
Stars: ✭ 160 (+321.05%)
Mutual labels:  web-server, localhost
Fenix
A simple and visual static web server with collaboration features.
Stars: ✭ 1,559 (+4002.63%)
Mutual labels:  web-server, localhost
Catacumba
Asynchronous web toolkit for clojure built on top of Ratpack / Netty
Stars: ✭ 192 (+405.26%)
Mutual labels:  web-server
react-click-to-edit
Make any text editable.
Stars: ✭ 16 (-57.89%)
Mutual labels:  simple
ngx-ion-simple-mask
Input mask for Angular/Ionic
Stars: ✭ 21 (-44.74%)
Mutual labels:  simple
Python Socketio
Python Socket.IO server and client
Stars: ✭ 2,655 (+6886.84%)
Mutual labels:  web-server
ds-cli
DS-CLI is now a core runtime component of DesktopServer (https://serverpress.com). This project is an ensemble of the latest command line interface tools such as Composer, PHPUnit, WP-CLI, and other cross-platform components that are important to professional WordPress developers.
Stars: ✭ 19 (-50%)
Mutual labels:  localhost
Aero
🚄 Fastest node.js framework. Go version is actively maintained: @aerogo
Stars: ✭ 181 (+376.32%)
Mutual labels:  web-server
httpfs
Go 编写的静态文件服务器,支持文件拖拽上传,无第三方包依赖, 支持 Windows, Linux , Darwin。
Stars: ✭ 28 (-26.32%)
Mutual labels:  simple
Mongols
C++ high performance networking with TCP/UDP/RESP/HTTP/WebSocket protocols
Stars: ✭ 250 (+557.89%)
Mutual labels:  web-server
M-Volunteer-SpringBoot
美志愿APP服务端,客户端在https://github.com/learner1999/M-Volunteer
Stars: ✭ 52 (+36.84%)
Mutual labels:  web-server
Andserver
🍒 Web server and web framework of Android platform.
Stars: ✭ 2,932 (+7615.79%)
Mutual labels:  web-server
Awot
Arduino web server library.
Stars: ✭ 200 (+426.32%)
Mutual labels:  web-server
hugoblog
Hugoblog is responsive, simple, and clean that would fit for your personal blog based on Hugo Theme Static Site Generator (SSG)
Stars: ✭ 48 (+26.32%)
Mutual labels:  simple
Mojo
✨ Mojolicious - Perl real-time web framework
Stars: ✭ 2,298 (+5947.37%)
Mutual labels:  web-server
advancedSmsManager
Advanced SmsManager is avery handy library for sending sms for single and two sim-card phones with many options.
Stars: ✭ 27 (-28.95%)
Mutual labels:  simple
Thin
A very fast & simple Ruby web server
Stars: ✭ 2,170 (+5610.53%)
Mutual labels:  web-server
Servr
A simple HTTP server in R
Stars: ✭ 228 (+500%)
Mutual labels:  web-server
simple-jwt-provider
No description or website provided.
Stars: ✭ 33 (-13.16%)
Mutual labels:  simple
simple-commands
An (even more) simplified and intuitive command framework for Spigot.
Stars: ✭ 14 (-63.16%)
Mutual labels:  simple

smurf - a simple markdown surfer

Preview any folder on your pc using a website.

Quick Demo:

$ cd ~/project/smurf
$ smurf
Starting server http://localhost:3434
...

Now simply open http://localhost:3434 in your web browser and you can see a directory listing. You can open any files ending in .md, .mkd, .markown, .txt and they will be converted to html on-the-fly.

smurf demo

Supports custom css, first it checks for a file named smurf.css in the directory to be served. Then it checks for a file in home directory ~/.smurf.css.

CSS is provided by sakura, a simple css theme: https://github.com/oxalorg/sakura

Usage:

smurf [PATH to Directory]

PS: Path to directory can be ommited to serve current directory.

Install

# Download the smurf script into your local bin folder
sudo wget "https://raw.githubusercontent.com/oxalorg/smurf/master/smurf.py" -O /usr/local/bin/smurf

# Make the script executable
sudo chmod a+x /usr/local/bin/smurf

# Download a simple css file for pretty webpages [1]
wget "https://raw.githubusercontent.com/oxalorg/sakura/master/css/sakura.css" -O ~/.smurf.css

Now if you don't have pandoc installed, you'll have to download a markdown parser which is as easy as:

pip3 install --user markdown2
# make sure Python user bin directory is in your path,
# other wise you can also install like this:
# sudo pip3 install markdown2

Why?

I write notes using plain markdown files in a dropbox folder. It works really well with me, especially after combining it with zsh and vim. But the one thing I can't do is view them in a pretty format. This is why I made this script to quickly browse those markdown files.

Requirements

  • Python 3
  • Any one of the following markdown parsers
    • Pandoc
    • Markdown2 (pip3 install --user markdown2)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].