aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.example13
-rw-r--r--go.mod25
2 files changed, 30 insertions, 8 deletions
diff --git a/config.example b/config.example
index df69b9b..8aa0ed3 100644
--- a/config.example
+++ b/config.example
@@ -1,8 +1,5 @@
-{
- "db_driver": "sqlite3",
- "db": "neko.db",
- "web": "127.0.0.0.1:4994",
- "username": "username",
- "password": "plaintextexamplepasswordpleasereplacethis",
- "proxy_images": false
-}
+database: /var/db/neko.db
+http: 9001
+imageproxy: true
+minutes: 90
+password: VeryLongRandomStringBecauseSecurityIsFun
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..88a3bcf
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,25 @@
+module adammathes.com/neko
+
+go 1.12
+
+require (
+ github.com/GeertJohan/go.rice v1.0.0
+ github.com/PuerkitoBio/goquery v1.5.0
+ github.com/advancedlogic/GoOse v0.0.0-20180825110909-6cd46faf50eb
+ github.com/araddon/dateparse v0.0.0-20190510211750-d2ba70357e92 // indirect
+ github.com/fatih/set v0.2.1 // indirect
+ github.com/gigawattio/window v0.0.0-20180317192513-0f5467e35573 // indirect
+ github.com/jaytaylor/html2text v0.0.0-20190408195923-01ec452cbe43 // indirect
+ github.com/mattn/go-runewidth v0.0.4 // indirect
+ github.com/mattn/go-sqlite3 v1.10.0
+ github.com/microcosm-cc/bluemonday v1.0.2
+ github.com/mmcdole/gofeed v1.0.0-beta2
+ github.com/mmcdole/goxpp v0.0.0-20181012175147-0068e33feabf // indirect
+ github.com/ogier/pflag v0.0.1
+ github.com/olekukonko/tablewriter v0.0.1 // indirect
+ github.com/russross/blackfriday v1.5.2
+ github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
+ github.com/stretchr/testify v1.3.0 // indirect
+ golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5
+ gopkg.in/yaml.v2 v2.2.2
+)