Skip to content
πŸ“ Version control your thoughts
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.browserslistrc
.eslintrc.js
.gitignore
.travis.yml
LICENSE
README.md
babel.config.js
netlify.toml
package.json
postcss.config.js
tsconfig.json
yarn.lock

README.md

πŸ“ GitWriter

Build status Netlify status Dependencies GitHub Vulnerabilities

GitWriter is the easiest way to version control your thoughts. Write in Markdown, auto save every minute like Google Docs. Easy.

⭐ Usage

Currently, a personal access token is required to use this service. Eventually, a "Login with GitHub" button would be preferred. The service is frontend-only and only uses local storage for your token.

πŸ›  Development

Start development server with:

yarn serve

XSS vulnerability

Because GitWriter uses simplemde, it's open to XSS: CVE-2018-19057. Since you're writing Markdown which compiles to HTML, you can add JavaScript on things like the img tag's onerror attribute. However, GitHub strips any JavaScript from Markdown files, so it will only be executed on the GitWriter site, not on GitHub.

Todo

  • Autosaving
  • Add support for saving every 2 minutes if it's dirty (interval, not just on text change)
  • Before unloading the page, make sure it's saved
  • Better auto-commit message
  • Add login with GitHub (integrate GitHub App, not personal token)
  • Show all repos, support filter/search

License

MIT

You can’t perform that action at this time.