You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mageas 75c6b3cf32
Add README.md
10 months ago
src Initial commit 10 months ago
.gitignore Initial commit 10 months ago
Cargo.lock Initial commit 10 months ago
Cargo.toml Initial commit 10 months ago
LICENSE Add LICENSE 10 months ago
README.md Add README.md 10 months ago
config_example.json Initial commit 10 months ago

README.md

matrix_piped_feed

Get your piped notifications on matrix!

Configuration

Copy config_example.json to config.json.

credentials:

  • user: Matrix account user
  • password: Matrix account password
  • homeserver: Matrix account homeserver

subscriptions:

  • room: Id of the matrix room
  • feed: Piped feed url

fetch_between: (Optional, if not set it will fetch 24/7)

  • start: When the fetching starts (in 24 hours)
  • end: When the fetching ends (in 24 hours)

fetch_interval:

  • Time between fetches (in seconds)

By default, the config.json and database.db3 needs to be in the directory where you execute the binaries.

Environment variables

MATRIX_PIPED_FEED__CONFIG: change the config path MATRIX_PIPED_FEED__DATABASE: change the database path

Build the project

Clone the repository:

git clone https://gitlab.com/Mageas/matrix_piped_feed

Once in the cloned directory, build the project for release:

cargo build --release

The binary is located in ./target/release/matrix_piped_feed

Self-host

I suggest you to use the docker version.