Skip to content

A sample app that uses webhooks to convert Markdown files to HTML.

License

Notifications You must be signed in to change notification settings

waiterZen/mdwebhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Webhook

This simple example app uses webhooks to get notified of new Markdown files in Dropbox. It then converts all Markdown files it sees to HTML.

Read more about webhooks and this example on the Dropbox developers site.

You can try the example yourself by visiting mdwebhook.herokuapp.com.

Running the sample yourself

This sample was built with Heroku in mind as a target, so the simplest way to run the sample is via foreman:

  1. Copy .env_sample to .env and fill in the values.
  2. Run pip install -r requirements.txt to install the necessary modules.
  3. Launch the app via foreman start or deploy to Heroku.

You can also just set the required environment variables (using .env_sample as a guide) and run the app directly with python app.py.

About

A sample app that uses webhooks to convert Markdown files to HTML.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.3%
  • CSS 26.7%