swapdoodle

command module
v0.0.0-...-2027e7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2025 License: AGPL-3.0 Imports: 18 Imported by: 0

README

ARCHIVED - THIS REPOSITORY WILL NOT ACCEPT CONTRIBUTIONS

Development has been moved to SwapdoodleRevival/swapdoodle, which is a proper fork of PretendoNetwork/swapdoodle and will be (hopefully) merged there at some point. The code here is identical to SwapdoodleRevival/swapdoodle - commit 8a1f568. No new changes will be made here.

Swapdoodle HPP server

A sorta-working replacement server for Swapdoodle

Status

The server should be considered alpha-quality at the moment. It has worked in our private testing, but broader public testing will be needed.

Credits

PretendoNetwork/super-mario-maker, it was used as a base for this code. I hope that's alright, I don't know Go much...
milesthecreator.bsky.social, who supplied us with unencrypted Swapdoodle network dumps that have significantly helped development.

Configuration

All configuration options are handled via environment variables

.env files are supported

Name Description Required
PN_SD_POSTGRES_URI Fully qualified URI to your Postgres server Yes
PN_SD_HPP_SERVER_PORT Port for the secure server Yes
PN_SD_CONFIG_S3_ENDPOINT S3 server endpoint Yes
PN_SD_CONFIG_S3_ACCESS_KEY S3 access key ID Yes
PN_SD_CONFIG_S3_ACCESS_SECRET S3 secret Yes
PN_SD_CONFIG_S3_BUCKET S3 bucket Yes
PN_SD_ACCOUNT_GRPC_HOST Host name for your account server gRPC service Yes
PN_SD_ACCOUNT_GRPC_PORT Port for your account server gRPC service Yes
PN_SD_ACCOUNT_GRPC_API_KEY API key for your account server gRPC service No (Assumed to be an open gRPC API)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
nex

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL