- Ruby 81.3%
- Jsonnet 9.5%
- Shell 6.1%
- Dockerfile 3.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The buildx plugin stamps created/revision/url itself (auto_labels is on by default), so only the labels it can't derive are set here; the old IMAGE_LABELS block would have duplicated them. The published path drops the /<branch> slug the kaniko job pushed under, so the quadlet Image= in the personal_website role needs repointing at code.aether.earth/aethernet/pinky-finger:latest. |
||
| .crow | ||
| config | ||
| exe | ||
| lib | ||
| LICENSES | ||
| scripts | ||
| sig/pinky | ||
| test | ||
| .dockerignore | ||
| .gitignore | ||
| .ruby-version | ||
| .standard.yml | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| Containerfile | ||
| Gemfile | ||
| Gemfile.lock | ||
| LICENSES.spdx | ||
| pinky-finger.gemspec | ||
| Rakefile | ||
| README.md | ||
| REUSE.toml | ||
| VERSION | ||
Pinky-Finger
A quick and dirty webfinger server.
This is set up to handle two different use cases for Webfinger at the same time:
- The fediverse (specifically Mastodon)
- Pointing my email to a particular OpenID Connect provider
Usage & Installation
This isn't really meant to be used by others, but if you're curious (or you are my future self):
- Download this repo.
- Run
./scripts/docker-serverto build the container image (it'll also launch a development version). - Launch the container in your preferred container orchestrator.
Environment variables
Configuration is handled through environment variables.
| Name | Default | Notes |
|---|---|---|
PINKYFINGER_RESOURCE_DOMAINS |
(required) | The comma separated list of domains this server assumes accounts are valid in. |
PINKYFINGER_MASTODON_DOMAIN |
(required) | When generating the Webfinger response, generate URLs for ActivityPub with this domain. (Following Mastodon's expectations.) |
PINKYFINGER_OPENID_ISSUER |
(required) | When generating the Webfinger response, add an OpenID Connect relation to this domain. (Assuming the configuration document is available at domain + "/.well-known/openid-configuration") |
PINKYFINGER_PORT |
1234 | Which port the HTTP server listens on. |
PINKYFINGER_ENV |
development | What release environment we're running in. One of "test", "production", or "development". |
Development
After checking out the repo, run ./scripts/setup to install dependencies.
Then, run ./scripts/test to run the tests.
You can also run ./scripts/docker-run ./scripts/console for an interactive prompt that will allow you to experiment.
To release a new version, update the version number in VERSION, and then push. Gitlab CI will automatically publish the docker image.
Contributing
Bug reports and pull requests are welcome on my GitLab instance.
Code of Conduct
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
Everyone interacting in the Pinky-Finger project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
License
The code within this repo is licensed under the terms of the AGPL-3.0 license.
The documentation within this repo is licensed under the terms of the GFDL-1.3 license.
Some files are under different a license, see LICENSES.spdx for a detailed list.