Blog Editor Notes

Notes from 3-day sprint

Making wysiwyg blog editor

The purpose of this project is to make it easy for non-technical people to update/make posts in a jekyll-blog. A very concrete use case is my mothers blog, as well as be able to setup non-maintenance websites for other people.

Intended functionality in initial version:

  • list/choose a draft/post
  • rename/save draft/post (deletes old version, if different name)
  • editing a choosen draft/post

Later:

  • images as separate files
  • autosave
  • autocreate username/username.github.io if no repository is entered

Tasks:

  • √create repository
  • √github login with mubackend
  • √list html files in /posts and /drafts
  • √read file + meta-data from github into app-db
  • √integrate file and editor
  • √write/change file on github
  • ÷remove file on github if rename
  • ÷publish

react-native notes

  • You get hotloading, by enabling it on the device in the developer menu (ctrl-n)
  • console.log output via adb logcat
  • Likely stack: React-native + Redux + ImmutableJS + (Realm or just AsyncStorage + encryption)
  • Links
    • http://facebook.github.io/react-native/docs/getting-started.html
    • http://redux.js.org/
    • http://facebook.github.io/immutable-js/
    • https://realm.io/docs/react-native/latest/#getting-started

Leave a Reply

Your email address will not be published. Required fields are marked *