miniflux
This module implements the miniflux python library. https://miniflux.app/docs/api.htmlInstallation
dagger install github.com/levlaz/daggerverse/miniflux@v0.1.0
Entrypoint
Return Type
Miniflux !
Arguments
Name | Type | Description |
---|---|---|
host | String ! | url for miniflux instance |
token | Secret ! | miniflux API token |
categoryId | String | optional, category id for blogroll, if not set will grab all feeds. |
Example
dagger -m github.com/levlaz/daggerverse/miniflux@69bfee7da32c46e481999e71a031d695b680d4b7 call \
--host string --token env:MYSECRET
func (m *myModule) example(host string, token *Secret) *Miniflux {
return dag.
Miniflux(host, token)
}
@function
def example(host: str, token: dagger.Secret, ) -> dag.Miniflux:
return (
dag.miniflux(host, token)
)
@func()
example(host: string, token: Secret, ): Miniflux {
return dag
.miniflux(host, token)
}
Types
Miniflux 🔗
generateSources() 🔗
Generate sources file for openring
This function grabs all the feeds from a given category in miniflux, grabs the feed_url and then generates a sources.txt file for the purpose of feeding it into the openring module.
Return Type
File !
Example
dagger -m github.com/levlaz/daggerverse/miniflux@69bfee7da32c46e481999e71a031d695b680d4b7 call \
--host string --token env:MYSECRET generate-sources
func (m *myModule) example(host string, token *Secret) *File {
return dag.
Miniflux(host, token).
GenerateSources()
}
@function
def example(host: str, token: dagger.Secret, ) -> dagger.File:
return (
dag.miniflux(host, token)
.generate_sources()
)
@func()
example(host: string, token: Secret, ): File {
return dag
.miniflux(host, token)
.generateSources()
}