aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md23
-rw-r--r--main.go5
2 files changed, 21 insertions, 7 deletions
diff --git a/README.md b/README.md
index 663cbd5..49d0be8 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/main.go b/main.go
index c860653..f807afe 100644
--- a/main.go
+++ b/main.go
@@ -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()
}
-