{"id":16388012,"url":"https://github.com/dotmpe/google-chrome-htdocs","last_synced_at":"2025-07-02T21:06:18.591Z","repository":{"id":17106950,"uuid":"19872683","full_name":"dotmpe/google-chrome-htdocs","owner":"dotmpe","description":"Client for server.","archived":false,"fork":false,"pushed_at":"2020-11-17T13:22:03.000Z","size":992,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T12:25:47.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dotmpe.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}},"created_at":"2014-05-16T22:32:37.000Z","updated_at":"2020-11-17T13:22:05.000Z","dependencies_parsed_at":"2022-08-04T16:30:38.823Z","dependency_job_id":null,"html_url":"https://github.com/dotmpe/google-chrome-htdocs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dotmpe/google-chrome-htdocs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fgoogle-chrome-htdocs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fgoogle-chrome-htdocs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fgoogle-chrome-htdocs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fgoogle-chrome-htdocs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotmpe","download_url":"https://codeload.github.com/dotmpe/google-chrome-htdocs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fgoogle-chrome-htdocs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263215287,"owners_count":23431894,"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":[],"created_at":"2024-10-11T04:28:07.166Z","updated_at":"2025-07-02T21:06:13.578Z","avatar_url":"https://github.com/dotmpe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ReadMe\nOpens up Google Chrome for (shell) scripting, use with discretion. Enables a\nuser or system script with access to a FIFO to request tab and page info.\n\n### Intro\nInstalls a popup to display metadata (and actions) for the displayed page.\n\nA background process listens at one FIFO and responds on another using a\n'stdio'-type message service.\n\n### Install\n- Add PWD as \"unpacked\" extension in \"developer mode\" \u003cchrome://extensions\u003e\n- Copy messaging hosts to `~/.config/google-chrome/NativeMessagingHosts/\u003cservice-name\u003e.json`.\n\n## Dsgn\n- Request with single line JSON at $TMP/htdocs-chrome.fifo\n- Read responses as single line JSON at $TMP/htdocs-chrome-out.fifo\n\nTODO:\n\nPage\n  - get-title\n  - get-selection\n\nBackground\n  - get-url - return bookmark and tab info for URL\n  - get-urls - list open URLs only\n  - get-pages - list titles and locations and link data for open tabs, see\n    get-page for details.\n  - get-page - list noteworthy resource details for url (if opened)\n  - get-bookmark - retrieve bookmarks info\n  - get-bookmarks - list bookmarks\n  - set-clipboard\n  - get-clipboard\n\n## Status quo \u0026 objectives\n- TamperMonkey/MeddleMonkey extends content-scripts (with javascript) for all or some URLs.\n- Shellac can be setup to do almost anything (using shell scripts) using URLs as well.\n\nNeither has an obvious and quick access for a shell script, and I do not want to\nclick somewhere on the browser everytime I need some data in a script. What I\nwant is to send a request and get a response on a stdio (in a shell). And\nprobably to trigger certain messages to a shell script or command as well. With\nthat done, it might as well be nice to popup with a representation of the\nmetadata and actions for the page. And then to make all those parts user-\nconfigurable to some extend. There is some overlap with the two existing\nextensions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmpe%2Fgoogle-chrome-htdocs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotmpe%2Fgoogle-chrome-htdocs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmpe%2Fgoogle-chrome-htdocs/lists"}