chowdown
chowdown copied to clipboard
Added option to create and edit recipes in the browser
Uses the Github API to commit new or changed recipes to the repository. This makes it possible to create and edit recipes without having to open a text editor every time.
A few caveats:
- Unfortunately, Githubs CORS policy on OAuth requests makes it impossible to use OAuth for authentication.
- After updating a file, it takes a few minutes for Github to rebuild the site so changes are not immediately visible.
- Does not work with component recipes
what does this caveat mean for usability?
Unfortunately, Githubs CORS policy on OAuth requests makes it impossible to use OAuth for authentication.
It means, you have to log in to Github every time you make an edit. I can't request a token from Github to keep the user logged in (without using a third party service which I want to avoid).
For me personally, I usually only add one recipie at a time so in that case it does not matter but if you want to add multiple recipies right after each other it's extra hassle.