Add files

This commit is contained in:
CyberRex
2025-08-27 10:13:18 +09:00
parent 5285791140
commit 83847e1413
5 changed files with 105 additions and 2 deletions

View File

@@ -1,3 +1,30 @@
# cfedge-check
# Cloudflare Edge Location Checker
Cloudflare Edge Location Checker
Cloudflareを使用するサイトに接続するとき、エッジロケーションが想定されている場所になるかを確認します<br>
その確認結果をMisskeyに投稿します
## Usage
- 引数なし: 確認から結果投稿までを行います
- `--dry-run`: 確認を行い、結果はMisskeyに投稿せず標準出力に表示します
## Installation
1. Pythonのenvを作る<br>
```
python3 -m venv env
```
2. 必須パッケージをインストール<br>
```
env/bin/pip install -U -r requirements.txt
```
3. config.py をサンプルに従い編集
4. 実行
```
env/bin/python3 cfedge.py
```
cronに登録するなどして自動実行できます