hsnews
hsnews copied to clipboard
A Hacker News clone in Clojure
Something like: username | time elapsed | link | parent | story_name akin to HN's /newcomments view: http://news.ycombinator.com/newcomments
I want `j` and `k` to move between stories on the front page and `return` to view it.
the URL that causes the error: http://localhost:3000/sessions/create java.lang.IllegalArgumentException: Host URL cannot be nil at clj_http.client$post.doInvoke(client.clj:442) at clojure.lang.RestFn.invoke(RestFn.java:423) at hsnews.models.user$login_BANG_.invoke(user.clj:82) at hsnews.views.user$POST__sessions__create.invoke(user.clj:65) at hsnews.views.user$eval3999$fn__4000.invoke(user.clj:63) at compojure.core$if_route$fn__1135.invoke(core.clj:39) at compojure.core$if_method$fn__1128.invoke(core.clj:24) at compojure.core$routing$fn__1154.invoke(core.clj:98) at...
This might be two feature requests, but I don't want to open that many issues at once. It would be great if you could edit Post titles/URLs and Comment text.
HSN API
I've already got some fun ideas for things to do with the API, and I imagine others do as well.
I think this could go either way, but it might be nice to do some basic validation on urls or automatically add "http://" or at least warn users when they...