diff options
author | Adam Mathes <adam@trenchant.org> | 2018-07-04 16:24:51 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2018-07-04 16:24:51 -0700 |
commit | 893ea3825efea1f2ec187780e8653a1a2641d173 (patch) | |
tree | 6668b285acf4299cfd5f546e09a719febdae73d7 | |
parent | 9511ccc7e0cfac59c7f0ba0e89aa794455369941 (diff) | |
download | neko-893ea3825efea1f2ec187780e8653a1a2641d173.tar.gz neko-893ea3825efea1f2ec187780e8653a1a2641d173.tar.bz2 neko-893ea3825efea1f2ec187780e8653a1a2641d173.zip |
documentation updates
-rw-r--r-- | README.md | 23 | ||||
-rw-r--r-- | main.go | 5 |
2 files changed, 21 insertions, 7 deletions
@@ -104,14 +104,29 @@ Depending on your database file and other bits -- ## TODO + * manually initiate crawl/refresh from web interface + * auto-refresh feeds from web interface * import * mark all as read - * initiate crawl from web interface * rewrite frontend in a modern js framework - * less ugly frontend + * prettify interface + * cross-compilation of binaries for "normal" platforms ## History -I decided I didn't like the [old version that was python and mongo](https://github.com/adammathes/neko_v1) so rewrote it. I wanted to learn some Go. So assume the code is not great since I don't know what I'm doing even more so than normal. +### Early 2017 -The Javascript frontend is still the same, I might rewrite that too since it's old backbone.js code and in the intervening years it looks like nobody uses that anymore. +I decided I didn't like the [original version of this that was python and mongo](https://github.com/adammathes/neko_v1) so rewrote it. I wanted to learn some Go. So assume the code is not great since I don't know what I'm doing even more so than normal. + +The Javascript frontend is still the same, I keep saying I will rewrite that too since it's old backbone.js code but it still seems to mostly work. It's not very pretty though. + +### July 2018 + +Significant changes to simplify setup, configuration, usage. The goal was typing `neko` should be all you need to do to get started and use the software. + + * removed MySQL requirement (eliminating a ton of configuration and complexity) + * added SQLite support (easier!) + * auto-initialization of database file with embedded schema + * removed json-formatted config file -- all options are command line options + * `neko` runs web server by default + * `neko` server crawls feeds regularly rather than requiring cron @@ -9,8 +9,8 @@ import ( "adammathes.com/neko/vlog" "adammathes.com/neko/web" "fmt" - "time" flag "github.com/ogier/pflag" + "time" ) func main() { @@ -69,7 +69,7 @@ func main() { if minutes < 1 { return } - ticker := time.NewTicker(time.Minute*time.Duration(minutes)) + ticker := time.NewTicker(time.Minute * time.Duration(minutes)) defer ticker.Stop() done := make(chan bool) for { @@ -88,4 +88,3 @@ func main() { config.Config.Port) web.Serve() } - |