Sign inSign up

galarzaa90/tibia-static

By galarzaa90

•Updated 4 months ago

An aiohttp server that acts as proxy for resources in static.tibia.com

Image
Web servers
0

6.7K

galarzaa90/tibia-static repository overview

⁠TibiaStatic

Docker Image Version Docker Image Size Docker Pulls ⁠

An aiohttp⁠ server that acts as proxy for resources in static.tibia.com, serving them from the server's disk, allowing images to be properly embedded in applications like Discord.

Note that in order to use this, this must be run from a publicly accessible location (i.e. with a public IP or a domain)

⁠Installing

⁠Using python

First you must install the required dependencies:

python -m pip install -r requirements.txt

Then you can run main.py to start it. It supports the following command line arguments:

ArgumentDefaultDescription
-p, --port8000The port where the HTTP server will be exposed to.
--help--Shows information about the available options.

For example:

python main.py -p 7500

⁠Usage

When the server is running, any image in static.tibia.com can be fetched by replacing the URL with the server's address.

Server's AddressTibia.com ResourceProxied URL
localhosthttps://static.tibia.com/images/forum/logo_hotsticky.gif⁠http://localhost/images/forum/logo_hotsticky.gif
example.comhttps://static.tibia.com/images/news/doubleloot_small.png⁠https://example.com/images/news/doubleloot_small.png

Prometheus metrics are available at /metrics on the same port as the server.

Tag summary

Content type

Image

Digest

Size

57.5 MB

Last updated

over 5 years ago

docker pull galarzaa90/tibia-static