{"id":18799510,"url":"https://github.com/vidarh/rack-webfinger","last_synced_at":"2026-01-30T13:04:17.643Z","repository":{"id":250474529,"uuid":"834585300","full_name":"vidarh/rack-webfinger","owner":"vidarh","description":"Webfinger Rack Middleware","archived":false,"fork":false,"pushed_at":"2024-07-29T01:13:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-12T16:29:41.725Z","etag":null,"topics":["fediverse","rack","ruby","webfinger"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vidarh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"vidarh","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2024-07-27T18:05:08.000Z","updated_at":"2024-07-29T01:13:16.000Z","dependencies_parsed_at":"2024-07-27T18:23:52.713Z","dependency_job_id":"2a731439-09e2-41b8-8687-4234f0c8a810","html_url":"https://github.com/vidarh/rack-webfinger","commit_stats":null,"previous_names":["vidarh/rack-webfinger"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vidarh/rack-webfinger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vidarh%2Frack-webfinger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vidarh%2Frack-webfinger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vidarh%2Frack-webfinger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vidarh%2Frack-webfinger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vidarh","download_url":"https://codeload.github.com/vidarh/rack-webfinger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vidarh%2Frack-webfinger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28913335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fediverse","rack","ruby","webfinger"],"created_at":"2024-11-07T22:15:37.035Z","updated_at":"2026-01-30T13:04:17.614Z","avatar_url":"https://github.com/vidarh.png","language":"Ruby","funding_links":["https://github.com/sponsors/vidarh"],"categories":[],"sub_categories":[],"readme":"# Rack::Webfinger\n\nA very basic first pass at a Rack middleware to serve up Webfinger\nrequests. There isn't much to serving up Webfinger requests, so this\nmiddleware won't do much.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add rack-webfinger\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install rack-webfinger\n\n## Usage\n\nIn your `config.ru` add:\n\n```ruby\n    require 'rack/webfinger'\n\n    use Rack::Webfinger, provider\n```\n\n`provider` must be a callable (lambda, proc, class responding to `#\ncall`) that takes a resource name and an array of rel filters in.\nYou can choose to ignore the rel filters - filtering will be done for\nyou.\n\nYou need to return a Hash of this format:\n\n```\n    {\n      aliases: [\"list\",\"of\",\"aliases\"],\n      links: [\n        { \"rel\": \"rel url\", \"type\": \"text/html\", \"href\": \"link\" }\n      ]\n    }\n```\n\nThis will be simplified, with constants for common rel values, and\ndefaults available.\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/vidarh/rack-webfinger.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvidarh%2Frack-webfinger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvidarh%2Frack-webfinger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvidarh%2Frack-webfinger/lists"}