Syntox32 / markdown-cloud

Edit markdown files synced with your Dropbox in the browser

Home Page:https://markdown.cloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An attempt at creating the most flexible, secure, and reliable markdown editor hosted in the cloud or as your own instance.

Features

  • Dropbox Integration
  • Client side encryption with AES
  • Online editor
  • Inline images

Installation

To use the editor, simply go to markdown.cloud/.

If you want to host your own, you can follow these instructions:

Configure environment variables

You simply need two environment variables, preferably in a file names .env inside the root folder:

  1. REACT_APP_DBX_CLIENT_ID
  2. REACT_APP_DBX_REDIRECT_URL

You can get these values by going to the Dropbox Developer page and registering your own application.

Development

Run a development version using yarn.

yarn install
yarn start

Yarn will automatically find the .env file and set the environment variables.

Cloudflare Worker

The project is setup such that it can be deployed easily to Cloudflare Workers.

Follow the Cloudflare documentation to install and configure the wrangler CLI.

Change these values in the wrangle.toml-file to as such:

workers_dev = true
route = ""

Run wrangler publish to deploy the application.

License

The project is under and MIT license.

About

Edit markdown files synced with your Dropbox in the browser

https://markdown.cloud/

License:MIT License


Languages

Language:TypeScript 86.4%Language:JavaScript 6.5%Language:HTML 5.3%Language:CSS 1.8%