Skip to content

Harbor is where the ships come to rest at the pink sea.

License

Notifications You must be signed in to change notification settings

shinolabs/harbor

Repository files navigation

Harbor 🚢⚓

Harbor is a fast caching blob proxy service for the ATProto written in Elixir. It was written to replace cdn.bsky.app for PinkSea

Usage

Docker (recommended)

After cloning the repository, navigate to it and then create a folder called cache. After that run docker compose up -d to build and run the harbor image.

The service will be exposed via the port 4001 by default, you can change it by editing the docker-compose.yml file.

Manual installation

After cloning the repo, navigate to the folder. Inside of it run mix deps.get to download the neccessary dependencies. Once it's done, run mix run --no-halt to run harbor. The service will start on port 4001.

To get a blob navigate to http://localhost:4001/<did>/<cid>. The blob will be fetched and cached inside of the ./cache folder.

License

Harbor is licensed under the MIT license.

About

Harbor is where the ships come to rest at the pink sea.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published