Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunsetmkt/beyondsilence
BeyondSilence recognizes prolonged user inactivity on GitHub, offering a gentle acknowledgment by showing pre-set messages.
https://github.com/sunsetmkt/beyondsilence
alive-check github-actions github-api testament will
Last synced: about 21 hours ago
JSON representation
BeyondSilence recognizes prolonged user inactivity on GitHub, offering a gentle acknowledgment by showing pre-set messages.
- Host: GitHub
- URL: https://github.com/sunsetmkt/beyondsilence
- Owner: SunsetMkt
- License: gpl-3.0
- Created: 2023-12-10T03:56:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-03T04:04:09.000Z (11 months ago)
- Last Synced: 2025-01-06T23:03:49.900Z (8 days ago)
- Topics: alive-check, github-actions, github-api, testament, will
- Language: Python
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BeyondSilence(超越寂静)
> Keeping alive is much more important than keeping a will.
>
> You don't have to face things alone.BeyondSilence recognizes prolonged user inactivity on GitHub (Max 89 days), offering a gentle acknowledgment by showing pre-set messages. It's designed to run on a public GitHub repository with GitHub Actions.
## Quick Start
### BEYONDSILENCE_CONFIG
```json
{
"github_user_name": "MurataHimeko",
"days_before": 15,
"main_description": "这就是,最后一课了.....",
"dump_config_when_triggered": true,
"trigger_when_api_404": false,
"messages": [
{
"environ": "MESSAGE1",
"description": "姬子温柔地注视着你,不再言语。",
"content": ""
},
{
"environ": "MESSAGE2",
"description": "琪亚娜,我已经没有什么能教你的了。",
"content": ""
}
]
}
```### BEYONDSILENCE_KEYS
```json
{
"MESSAGE1": "姬子温柔地注视着你",
"MESSAGE2": "我已经没有什么能教你的了"
}
```Run `gen_env.py` to get env variable `BEYONDSILENCE_CONFIG` and `BEYONDSILENCE_KEYS`.
Set `BEYONDSILENCE_CONFIG` and `BEYONDSILENCE_KEYS` in GitHub Actions Repository secrets.
Enable GitHub Actions.
The output when triggered will be written to `README.md`, for example:
```
GitHub user name: MurataHimekoLast update time: 2024-01-07 19:04:42, triggered by inactivity of 15 days
Main description:
这就是,最后一课了.....Messages:
MESSAGE1: 姬子温柔地注视着你,不再言语。
Value: 姬子温柔地注视着你MESSAGE2: 琪亚娜,我已经没有什么能教你的了。
Value: 我已经没有什么能教你的了End of output
```
Please be aware that BeyondSilence is not designed for large strings, there's a 48 KB limit in GitHub Action secrets.