This is the backend service for NotGiphyUI.
NotGiphy is written in Go, with only mattn/go-sqlite3 as a dependency.
- wget https://dl.google.com/go/go1.11.2.linux-amd64.tar.gz
- tar -C /usr/local -xzf go1.11.2.linux-amd64.tar.gz
- export PATH=$PATH:/usr/local/go/bin
- git clone https://github.com/corystone/notgiphy.git ~/go/src/github.com/corystone/notgiphy
- apt-get install gcc libc6-dev make
- cd ~/go/src/github.com/corystone/notgiphy
- go get github.com/mattn/go-sqlite3
- make
- Build NotGiphyUI separately.
- mkdir static
- Copy all the files from notgiphyui/dist to static
- If you have your own giphy api key: export NOTGIPHY_API_KEY=<your_api_key> (Otherwise it will use a public beta key)
- ./bin/notgiphy