{"id":26315542,"url":"https://github.com/chaewonkong/surfio","last_synced_at":"2026-05-20T15:18:36.210Z","repository":{"id":183354699,"uuid":"669993963","full_name":"chaewonkong/surfio","owner":"chaewonkong","description":"Simple site meta scraper uses headless browser","archived":false,"fork":false,"pushed_at":"2024-02-01T04:42:45.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T13:35:52.887Z","etag":null,"topics":["go","goquery","headlessbrowser","scraper","surf"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaewonkong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-07-24T04:07:06.000Z","updated_at":"2023-07-25T06:25:13.000Z","dependencies_parsed_at":"2024-06-19T13:22:23.090Z","dependency_job_id":"81cf5109-88e4-43bc-b81d-a76bb43b3579","html_url":"https://github.com/chaewonkong/surfio","commit_stats":null,"previous_names":["chaewonkong/thumbnail-scraper","chaewonkong/surfio","chaewonkong/go-meta-scraper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaewonkong%2Fsurfio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaewonkong%2Fsurfio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaewonkong%2Fsurfio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaewonkong%2Fsurfio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaewonkong","download_url":"https://codeload.github.com/chaewonkong/surfio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243726156,"owners_count":20337757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["go","goquery","headlessbrowser","scraper","surf"],"created_at":"2025-03-15T12:19:27.444Z","updated_at":"2026-05-20T15:18:31.171Z","avatar_url":"https://github.com/chaewonkong.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌊 surfio\n\nSimple image scraper in Go with surf and goquery.\nScrapes thumbnail images from given site url, with dynamic crawling(using headless browser).\n\n## More\n\n- [surf](https://github.com/headzoo/surf)\n- [goquery](https://github.com/PuerkitoBio/goquery)\n\n## Usage\n\n```go\npackage main\n\nimport \"github.com/chaewonkong/surfio\"\n\nfunc main() {\n\turl := [YOUR_URL]\n\n\t// when\n\tsu := surfio.New(url)\n\timgs, err := su.GetThumbnailImages()\n\n\tif err != nil {\n\t\t// handle error\n\t}\n\n\t// if not error, use image\n\timgUrl := imgs[0].Url\n}\n```\n\nimgs contains Image struct. There could be multiple images.\nPrimarily the scraper finds og:image for the first; if not found it will search every images available for that url and return them.\n\n```go\ntype Image struct {\n\tUrl     string `json:\"url\"`\n\tSrcType string `json:\"src_type\"`\n}\n```\n\n## Todo\n\n- [ ] Crawling Site meta (title, description, keyword...)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaewonkong%2Fsurfio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaewonkong%2Fsurfio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaewonkong%2Fsurfio/lists"}