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

https://github.com/bsm/feedx


https://github.com/bsm/feedx

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Feedx

[![Test](https://github.com/bsm/feedx/actions/workflows/test.yml/badge.svg)](https://github.com/bsm/feedx/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](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
```