https://github.com/wabarc/distributor
GitHub Action for automated distribute archived webpages.
https://github.com/wabarc/distributor
archive distributor docker dockerfile github github-actions storing-webpages telegram wayback wayback-archiver webpage
Last synced: about 2 months ago
JSON representation
GitHub Action for automated distribute archived webpages.
- Host: GitHub
- URL: https://github.com/wabarc/distributor
- Owner: wabarc
- License: mit
- Created: 2020-10-18T17:37:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T08:20:27.000Z (over 2 years ago)
- Last Synced: 2025-05-25T08:17:26.439Z (about 1 year ago)
- Topics: archive, distributor, docker, dockerfile, github, github-actions, storing-webpages, telegram, wayback, wayback-archiver, webpage
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# distributor
Read this in other languages: English | [简体中文](./README.zh-CN.md)
GitHub Actions for automated distribute archived webpages.
## Workflow
## Configurations
#### DISTRIBUTE_TOKEN (required)
GitHub account authentication token for storing webpages.
#### DISTRIBUTE_OWNER (default: current user)
GitHub account username for storing webpages.
#### DISTRIBUTE_REPO (default: current repository)
GitHub repository name for storing webpages.
#### DISTRIBUTE_CHANNEL (required)
Webpages soruce, telegram channel name.
#### DISTRIBUTE_LIMIT (optional)
Limit the number of messages to fetching at one time.
#### DISTRIBUTE_CMD (default: github)
## Example
Using current GitHub account to storing data, it require add all the [required](#configurations) configs to Secrets.
```yaml
- uses: wabarc/distributor@main
env:
DISTRIBUTE_TOKEN: ${{ secrets.DISTRIBUTE_TOKEN }}
DISTRIBUTE_OWNER: ${{ secrets.DISTRIBUTE_OWNER }}
DISTRIBUTE_REPO: ${{ secrets.DISTRIBUTE_REPO }}
DISTRIBUTE_CHANNEL: ${{ secrets.DISTRIBUTE_CHANNEL }}
```
Using current GitHub account to storing data, it only require add `DISTRIBUTE_CHANNEL` to Secrets.
```yaml
- uses: wabarc/distributor@main
env:
DISTRIBUTE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISTRIBUTE_CHANNEL: ${{ secrets.DISTRIBUTE_CHANNEL }}
```
For more details, see [wabarc/broker](https://github.com/wabarc/broker).
## License
This software is released under the terms of the MIT. See the [LICENSE](https://github.com/wabarc/distributor/blob/main/LICENSE) file for details.