{"id":39520447,"url":"https://github.com/alrs/surfsticker","last_synced_at":"2026-01-18T06:18:50.691Z","repository":{"id":45095545,"uuid":"282761388","full_name":"alrs/surfsticker","owner":"alrs","description":"Manage sticky suckless surf windows.","archived":false,"fork":false,"pushed_at":"2022-01-08T23:59:02.000Z","size":37,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T14:51:28.511Z","etag":null,"topics":["suckless","surf","vim-go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alrs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-27T01:00:32.000Z","updated_at":"2024-03-14T15:57:51.000Z","dependencies_parsed_at":"2022-08-29T00:30:40.914Z","dependency_job_id":null,"html_url":"https://github.com/alrs/surfsticker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alrs/surfsticker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrs%2Fsurfsticker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrs%2Fsurfsticker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrs%2Fsurfsticker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrs%2Fsurfsticker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alrs","download_url":"https://codeload.github.com/alrs/surfsticker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrs%2Fsurfsticker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["suckless","surf","vim-go"],"created_at":"2026-01-18T06:18:50.612Z","updated_at":"2026-01-18T06:18:50.680Z","avatar_url":"https://github.com/alrs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"surfsticker\n===========\n\nI wrote `surfsticker` so that I can have a browser window on my desktop that\nis reasonably sticky. What I did not want was the default behavior of `surf`, \nwhere every invocation opens a new window.\n\nInstead, I wrap `surf` in `surfsticker`, with an optional `-sticker` flag.\n\n`surfsticker` creates a `surf` window with an extra XProperty on it named \n`_STICKER`. Without an explicitly chosen `-sticker` flag, it will set the\nvalue to \"default\".\n\nOnce a `surf` window has been started by `surfsticker` with a particular\n`_STICKER`, further invocations of `surfsticker` will re-use the existing\nwindow to visit a chosen URL.\n\nEach `_STICKER` is tied to a stylesheet in `~/.surf/styles`.\n\nI have a custom `surf` stylesheet that I like to use with `godoc` so that its\nbrightness doesn't melt my eyes. To invoke it, I put the following in my \n`.vimrc`:\n```\nlet g:go_play_browser_command = 'surfsticker -sticker godoc %URL% \u0026'\n```\nThis opens a surf window labeled with the  `godoc` `_STICKER` that uses \nthe following stylesheet: `~/.surf/styles/godoc.css`. So long as that window \nstays open, it will be reused every time I \n`surfsticker -sticker godoc https://example.com`.\n\n![surfsticker screenshot](https://alrs.tilde.team/surfsticker.png)\n\ninstallation\n============\nSo long as the `go` toolchain is available and you've added `~/go/bin` to your\nregular path, `surfsticker` should install and be usable by invoking\n`go install ./...` in its root.\n\n`surfsticker` uses the Linux `inotify` API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falrs%2Fsurfsticker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falrs%2Fsurfsticker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falrs%2Fsurfsticker/lists"}