/wg-config-fetcher

Hourly updated WireGuard configs fetcher - Automatically retrieves and maintains the 10 most recent WireGuard configurations from Telegram

Primary LanguagePythonMIT LicenseMIT

WireGuard Config Fetcher

Automatically fetches and updates WireGuard configurations from a public Telegram channel every hour. This tool regularly checks the channel and saves the ten most recent WireGuard configurations with anonymized identifiers.

Features

  • Fetches the latest 10 WireGuard configurations every hour
  • Removes identifying information from configs
  • Maintains exactly ten most recent configs
  • Automatically updates via GitHub Actions
  • No Telegram API required

Setup

  1. Fork this repository
  2. Enable GitHub Actions in your fork:
    • Go to the "Actions" tab
    • Click "I understand my workflows, go ahead and enable them"

That's it! The GitHub Action will automatically run every hour to fetch new configs and update the repository.

Configuration File

The WireGuard configurations are stored in configs/wireguard_configs.txt. Each config is tagged with an anonymous identifier (Anon1 through Anon10) in order of recency, where Anon1 represents the most recent configuration.

Example structure:

wireguard://config1...#Anon1
wireguard://config2...#Anon2
...
wireguard://config10...#Anon10

License

This project is licensed under the MIT License - see the LICENSE file for details.