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: 23 days ago
JSON representation

🌍 YOURLS plugin to update the GeoIP database

Lists

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.