https://github.com/sentriz/socr
screenshot OCR server
https://github.com/sentriz/socr
Last synced: 8 months ago
JSON representation
screenshot OCR server
- Host: GitHub
- URL: https://github.com/sentriz/socr
- Owner: sentriz
- Created: 2021-05-08T12:18:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-07-30T12:12:12.000Z (10 months ago)
- Last Synced: 2025-07-30T13:01:39.975Z (10 months ago)
- Language: Go
- Homepage:
- Size: 2.51 MB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README

## running
please see example [docker-compose](./docker-compose.yml) and run
```shell
$ # ensure db is up and has the correct database
$ docker-compose up -d socr_db
$ docker-compose exec socr_db psql -U socr -c "create database socr"
$ # if database exists, start everything
$ docker-compose up -d
$ docker-compose logs --tail 20 -f main
```
### building from source
requires
- node
- npm
- go (1.19+)
- ffmpeg
- libtesseract-dev
- libleptonica-dev
```shell
$ go generate ./web/
$ go install ./cmd/socr/socr.go
$ socr
```