Skip to content

Add custom geosite/geoip URL sources#3980

Open
MrRefactoring wants to merge 1 commit intoMHSanaei:mainfrom
MrRefactoring:feature/custom-geo-sources
Open

Add custom geosite/geoip URL sources#3980
MrRefactoring wants to merge 1 commit intoMHSanaei:mainfrom
MrRefactoring:feature/custom-geo-sources

Conversation

@MrRefactoring
Copy link
Copy Markdown

@MrRefactoring MrRefactoring commented Mar 30, 2026

What is the pull request?

Adds support for custom GeoSite and GeoIP .dat sources configured from URLs in the panel. Admins can register aliases, download or refresh files into bin/ (as geosite_<alias>.dat / geoip_<alias>.dat), list and manage entries, and use them in routing via Xray’s ext: form (e.g. ext:geosite_myalias.dat:tag). Includes REST API under /panel/api/custom-geo/, UI on the index page, Xray rule presets that load user aliases, README updates, and unit tests for the download/service logic. Translations were added for the new strings across supported locales.

Closes #3331
Closes #3047

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots

Before After
telegram-cloud-document-2-5355248954487379143 telegram-cloud-document-2-5352540539520589930
telegram-cloud-document-2-5355248954487379144 telegram-cloud-document-2-5352540539520589929

@MrRefactoring MrRefactoring force-pushed the feature/custom-geo-sources branch from 550f9db to c00d51a Compare March 30, 2026 09:05
@MrRefactoring
Copy link
Copy Markdown
Author

MrRefactoring commented Mar 31, 2026

I’ve just built and pushed the Docker Compose image.
Feel free to use it for testing:
ghcr.io/mrrefactoring/3x-ui-ru:latest

@MrRefactoring MrRefactoring force-pushed the feature/custom-geo-sources branch from c00d51a to 79efdd1 Compare March 31, 2026 20:33
Register DB model, panel API, index/xray UI, and i18n.
@MrRefactoring MrRefactoring force-pushed the feature/custom-geo-sources branch from 79efdd1 to 0b45732 Compare March 31, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request add custom geosite & geoip Feature Request: Customizable and Auto-Updating geosite and geoip

1 participant