Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozh/yourls-geoip-update
🌍 YOURLS plugin to update the GeoIP database
https://github.com/ozh/yourls-geoip-update
geoip2 geolite2 yourls yourls-plugin
Last synced: 2 months ago
JSON representation
🌍 YOURLS plugin to update the GeoIP database
- Host: GitHub
- URL: https://github.com/ozh/yourls-geoip-update
- Owner: ozh
- Created: 2022-03-20T14:44:30.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T10:14:39.000Z (8 months ago)
- Last Synced: 2024-08-02T06:15:26.320Z (5 months ago)
- Topics: geoip2, geolite2, yourls, yourls-plugin
- Language: PHP
- Homepage:
- Size: 36.1 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - GeoIP Update - Update the GeoIP database (Plugins / G)
README
# GeoIP Update [![Listed in Awesome YOURLS!](https://img.shields.io/static/v1?label=Awesome&message=YOURLS&color=C5A3BE&style=flat-square)](https://github.com/YOURLS/awesome-yourls/)
This plugin updates the GeoIP database.
Requires [YOURLS](https://yourls.org) `1.8.2` and above,
and a [Maxmind account](https://www.maxmind.com/en/account/login) and a free license key.## Installation
1. In `/user/plugins`, create a new folder named `geoip-update`.
2. Drop these files in that directory.
3. Go to the Plugins administration page (eg. `http://sho.rt/admin/plugins.php`) and activate the plugin.
4. Have fun!## Usage
Input your license key and click "Update DB". That's all.
![image](https://user-images.githubusercontent.com/223647/159169028-920041cf-0064-4cbe-9543-8898e4f75d52.png)
## Advanced usage
You can use this plugin to automatically update the GeoIP database using `cron` if available on your server.
See file `run.php` in the plugin directory for more information.
## License
Do whatever the hell you want with it.