{"id":38024503,"url":"https://github.com/markgx/gofeedfinder","last_synced_at":"2026-01-16T19:32:47.229Z","repository":{"id":300699462,"uuid":"979149051","full_name":"markgx/gofeedfinder","owner":"markgx","description":"A command-line utility and Go library designed to detect a website's RSS, Atom, or JSON feeds","archived":false,"fork":false,"pushed_at":"2025-06-23T06:26:05.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T06:29:09.419Z","etag":null,"topics":["atom","golang","jsonfeed","rss"],"latest_commit_sha":null,"homepage":"","language":"Go","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/markgx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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":{"ko_fi":"markgx"}},"created_at":"2025-05-07T04:28:28.000Z","updated_at":"2025-06-23T06:26:08.000Z","dependencies_parsed_at":"2025-06-23T06:39:40.425Z","dependency_job_id":null,"html_url":"https://github.com/markgx/gofeedfinder","commit_stats":null,"previous_names":["markgx/gofeedfinder"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/markgx/gofeedfinder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgx%2Fgofeedfinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgx%2Fgofeedfinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgx%2Fgofeedfinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgx%2Fgofeedfinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markgx","download_url":"https://codeload.github.com/markgx/gofeedfinder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markgx%2Fgofeedfinder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["atom","golang","jsonfeed","rss"],"created_at":"2026-01-16T19:32:46.258Z","updated_at":"2026-01-16T19:32:47.189Z","avatar_url":"https://github.com/markgx.png","language":"Go","funding_links":["https://ko-fi.com/markgx"],"categories":[],"sub_categories":[],"readme":"# gofeedfinder\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/markgx/gofeedfinder.svg)](https://pkg.go.dev/github.com/markgx/gofeedfinder)\n\nA command-line utility and Go library designed to detect a website's RSS, Atom, or JSON feed(s) if available.\n\n## CLI\n\n### Installation\n\n```\ngo install github.com/markgx/gofeedfinder/cmd/gofeedfinder@latest\n```\n\n### Usage\n\n```\ngofeedfinder [--with-attributes] [--scan-common-paths] \u003curl\u003e\n```\n\n### Arguments\n\n- `\u003curl\u003e`: The URL of the website to check for feeds\n\n### Options\n\n- `--with-attributes`: Display additional feed attributes (title and type) along with the URL\n- `--scan-common-paths`: Scan common feed paths when no feeds found in HTML (e.g., /feed, /rss, /atom.xml)\n\n### Examples\n\nBasic usage:\n```\n$ gofeedfinder https://example.com\nhttps://example.com/feed.xml\nhttps://example.com/atom.xml\n```\n\nWith attributes:\n```\n$ gofeedfinder --with-attributes https://example.com\nhttps://example.com/feed.xml title=Example Site Feed type=rss\nhttps://example.com/atom.xml title=Example Site type=atom\n```\n\nWith common path scanning (when no feeds found in HTML):\n```\n$ gofeedfinder --scan-common-paths https://example.com\nhttps://example.com/feed\nhttps://example.com/rss.xml\n```\n\n## Library\n\n### Installation\n\n```\ngo get github.com/markgx/gofeedfinder\n```\n\n### Usage\n\n```go\nimport \"github.com/markgx/gofeedfinder/pkg/gofeedfinder\"\n\n// Find feeds from a website URL\nfeeds, err := gofeedfinder.FindFeeds(\"https://example.com\")\nif err != nil {\n    // Handle error\n}\n\n// Find feeds with additional options\nopts := gofeedfinder.Options{\n    ScanCommonPaths: true, // Scan common paths when no feeds found in HTML\n    MaxConcurrency:  3,    // Maximum concurrent requests for path scanning\n}\nfeeds, err := gofeedfinder.FindFeedsWithOptions(\"https://example.com\", opts)\nif err != nil {\n    // Handle error\n}\n\n// Process the discovered feeds\nfor _, feed := range feeds {\n    fmt.Printf(\"URL: %s\\n\", feed.URL)\n    fmt.Printf(\"Title: %s\\n\", feed.Title)\n    fmt.Printf(\"Type: %s\\n\", feed.Type) // \"rss\", \"atom\", or \"json\"\n}\n\n// Extract feed links from HTML with a base URL\nhtml := `\u003chtml\u003e...\u003c/html\u003e`\nurl := \"https://example.com\"\nfeeds := gofeedfinder.ExtractFeedLinks(html, url)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkgx%2Fgofeedfinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkgx%2Fgofeedfinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkgx%2Fgofeedfinder/lists"}