https://github.com/application-research/estuary-autoretrieve-publisher
Estuary Autoretrieve Publisher
https://github.com/application-research/estuary-autoretrieve-publisher
Last synced: 24 days ago
JSON representation
Estuary Autoretrieve Publisher
- Host: GitHub
- URL: https://github.com/application-research/estuary-autoretrieve-publisher
- Owner: application-research
- Created: 2022-11-30T21:23:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-20T22:51:18.000Z (over 3 years ago)
- Last Synced: 2025-01-25T04:11:09.338Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 196 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Estuary Autoretrieve Publisher
An Estuary microservice that queries Estuary CIDs and publishes them to Autoretrieve. This is was pulled out from the main Estuary repository built by [Gabe](https://github.com/gmelodie) and [Elijah](https://github.com/elijaharita), to isolate and run it as a background job.
## Installation
### Create the DB connection .env file
```
DB_NAME=
DB_HOST=
DB_USER=
DB_PASS=
DB_PORT=
```
### Install run
```
// Install
go mod tidy
go mod download
go build -tags netgo -ldflags '-s -w' -o estuary-autoretrieve-publisher
// Run
./estuary-autoretrieve-publisher
```
### Optional flags
```
// these are the default values
--advertisement-interval=15m
--indexer-url=https://cid.contact/
--advertise-offline=false
--batch-size=250000
```