{"id":21703564,"url":"https://github.com/codemonument/chrome-ask-gpt","last_synced_at":"2025-03-20T16:47:46.812Z","repository":{"id":106378819,"uuid":"608111189","full_name":"codemonument/chrome-ask-gpt","owner":"codemonument","description":"A simple chrome extension which adds a search provider to the chrome omnibar to capture a search query and insert it into the text-input field of chat.openai.com","archived":false,"fork":false,"pushed_at":"2023-05-11T07:30:45.000Z","size":776,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T15:41:25.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/codemonument.png","metadata":{"files":{"readme":"README.dev.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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}},"created_at":"2023-03-01T10:46:40.000Z","updated_at":"2024-01-04T10:50:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb50722d-82ac-4549-8236-6e5c45e18c36","html_url":"https://github.com/codemonument/chrome-ask-gpt","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fchrome-ask-gpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fchrome-ask-gpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fchrome-ask-gpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fchrome-ask-gpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemonument","download_url":"https://codeload.github.com/codemonument/chrome-ask-gpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244656395,"owners_count":20488638,"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-11-25T21:33:34.194Z","updated_at":"2025-03-20T16:47:46.757Z","avatar_url":"https://github.com/codemonument.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Developer Readme\n\n\u003e Helpfull stuff for Contributions / Developers\n\n- Chrome V3 Manifest Format: https://developer.chrome.com/docs/extensions/mv3/manifest/\n- Chrome Extensions api docs: https://developer.chrome.com/docs/extensions/reference/\n\n## Configuring Rollup in Vite to output multiple entrypoints\n\nNeeded for html entrypoints (for example chromes option.html or popup.html),\ntogether with js entrypoints, specifically background.js service worker entrypoint\n\nhttps://github.com/vitejs/vite/discussions/1736\n\n=\u003e rollup config of vite library mode: https://github.com/vitejs/vite/blob/main/packages/vite/src/node/build.ts#L345-L372\n=\u003e Adjust to my own liking - use only rollup options like this:\n\n```\n rollupOptions: {\n      output: {\n        entryFileNames: `[name].js`,\n        // deactivates hashes in file names\n        // chunkFileNames: `[name].js`,\n        // assetFileNames: `[name].[ext]`,\n      },\n      input: {\n        background: path.resolve(\"src/background.ts\"),\n        options: path.resolve(\"./src/pages/options.html\"),\n        popup: path.resolve(\"./src/pages/popup.html\"),\n      },\n    },\n\n```\n\n## Inject content script into tab page from a popup.html from your extension\n\nhttps://levelup.gitconnected.com/how-to-use-a-content-script-with-a-popup-in-your-chrome-extension-f4adb8070d0a\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonument%2Fchrome-ask-gpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemonument%2Fchrome-ask-gpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonument%2Fchrome-ask-gpt/lists"}