Skip to content

[READ-ONLY] Redirect incoming requests to a random URL from a sitemap.

License

Notifications You must be signed in to change notification settings

jamesponddotco/sitred

Repository files navigation

SitRed

SitRed is a simple, yet powerful, server that fetches a website's sitemap, parses it to extract the URLs, and then redirects incoming HTTP requests to a random URL from the list.

The server is written in Go and was designed for sitemaps generated by the Yoast SEO WordPress plugin, but as long as you don't feed it a sitemap index, you should be able to use with it other kinds of sitemaps. Additionally, it should work efficiently even with large sitemaps.

Usage

Hosting your own instance of SitRed is easy:

Using SitRed is even easier:

Installation

From source

First install the dependencies:

  • Go 1.21 or above.
  • make.
  • scdoc.

Then compile and install:

make
sudo make install

Contributing

Anyone can help make SitRed better. Send patches on the mailing list and report bugs on the issue tracker.

You must sign-off your work using git commit --signoff. Follow the Linux kernel developer's certificate of origin for more details.

All contributions are made under the EUPL license.

Resources

The following resources are available:


Released under the EUPL License.