Skip to content

skyborn-industries/lodestone-proxy

Repository files navigation

Lodestone Proxy

A simple proxy that uses the Cloudflare Worker Fetch API to send requests to the Lodestone. It enables FFXIV Collect and Lodestone News to overcome network restrictions placed on their VPS provider.

Installation

git clone https://github.com/skyborn-industries/lodestone-proxy
cd lodestone-proxy
npm install
npm run dev

Usage

http://127.0.0.1:8787?url=https://na.finalfantasyxiv.com/lodestone/character/7660136

This will return a response from the given Lodestone URL. Add &mobile=1 to use a mobile user agent.

Security

Since workers have usage-based billing and will gladly send a request to any URL, it is important to secure access. This can be done with some basic custom security rules via Cloudflare.

  1. Disable the workers.dev and Preview URL domains
  2. Add a custom domain
  3. Block traffic to the custom domain unless it comes from your server
(http.host eq "proxy.example.com" and ip.src ne 1.2.3.4)

About

Simple Lodestone proxy

Resources

License

Stars

Watchers

Forks

Contributors