https://github.com/bsm/feedx
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bsm/feedx
- Owner: bsm
- License: other
- Created: 2018-11-09T10:51:34.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T18:28:06.000Z (over 1 year ago)
- Last Synced: 2025-03-22T19:02:17.986Z (about 1 year ago)
- Language: Go
- Size: 208 KB
- Stars: 2
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Feedx
[](https://github.com/bsm/feedx/actions/workflows/test.yml)
[](https://opensource.org/licenses/Apache-2.0)
Feed-based data exchange between services.
## Usage (Ruby)
```ruby
require 'bfs/s3'
require 'feedx'
# Init a new producer with an S3 destination
relation = Post.includes(:author)
producer = Feedx::Producer.new relation, 's3://my-bucket/feeds/users.json.gz'
# Push a new feed every hour
loop do
producer.perform
sleep(3600)
end
```