hahayes / these-days

for remembering to create periodic time capsules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make an html GUI to show the past responses

mobeets opened this issue · comments

this is LifeSlice's strategy (it stores html/css/js stuff in the application settings folder), and i think it's nice because making a gui in the browser is probably the quickest way to get something running. also because rumps has no support for any sort of gui.

problem here, of course, is that the stupid no cross-origin requests thing means i have to run a local web server. not ideal but whatever.

so, wait, does something like python -m SimpleHTTPServer work on most people's computers?

yep; it works on anyone who has python (i.e. for me on linux and windows)

there's something stupid with line endings from windows not working on linux computers; though. (you need to run dos2unix on the files yuo are executing

oh ok, awesome! this solution seems good enough for now then.