An open API service indexing awesome lists of open source software.

https://github.com/recoilme/verysmartdog

verysmart.dog
https://github.com/recoilme/verysmartdog

atom-reader feed-reader pocketbase preline rss-reader

Last synced: 10 months ago
JSON representation

verysmart.dog

Awesome Lists containing this project

README

          

# Work In Progress

## Build

- go 1.19
- CGO_ENABLED=1 go build --tags "fts5" -o vsd
- ./vsd serve
- admin ui: http://127.0.0.1/_/
- user ui: http://127.0.0.1

* CGO_ENABLED: sqlite full text search (https://sqlite.org/fts5.html)

## Development

- run socat (redirect 8080 -> 80) `socat TCP-LISTEN:80,fork TCP:127.0.0.1:8090` (needed for auth via telegram locally)
- remove cookie for 127.0.0.1 (if not first run)
- use live reload with air (https://github.com/cosmtrek/air): just run air
- dump db: `sqlite3 pb_data/data.db .dump > data.sql`
- dev bot: data-telegram-login="artemiyrobot"
- prod bot verysmartdogbot
- bot api key place in tgbot file

## UI

![ui](https://user-images.githubusercontent.com/417177/200583250-8404bef3-418b-490a-93ba-827fdc662807.jpg)