{"id":29349523,"url":"https://github.com/supermarsx/openai-codex-userscript","last_synced_at":"2026-04-30T16:32:57.069Z","repository":{"id":301905162,"uuid":"1010638321","full_name":"supermarsx/openai-codex-userscript","owner":"supermarsx","description":"OpenAI Codex Super UI Userscript","archived":false,"fork":false,"pushed_at":"2025-09-11T11:09:53.000Z","size":403,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-30T16:32:55.242Z","etag":null,"topics":["codex","enhancement","greasemonkey","injection","javascript","openai","userscript","violentmonkey"],"latest_commit_sha":null,"homepage":"","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/supermarsx.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-06-29T13:57:12.000Z","updated_at":"2025-09-11T11:09:57.000Z","dependencies_parsed_at":"2025-07-17T00:35:20.831Z","dependency_job_id":"27e5487c-014b-4886-8325-e4cfa954f383","html_url":"https://github.com/supermarsx/openai-codex-userscript","commit_stats":null,"previous_names":["supermarsx/openai-codex-userscript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/supermarsx/openai-codex-userscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fopenai-codex-userscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fopenai-codex-userscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fopenai-codex-userscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fopenai-codex-userscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supermarsx","download_url":"https://codeload.github.com/supermarsx/openai-codex-userscript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fopenai-codex-userscript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32470879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["codex","enhancement","greasemonkey","injection","javascript","openai","userscript","violentmonkey"],"created_at":"2025-07-08T22:00:20.138Z","updated_at":"2026-04-30T16:32:57.063Z","avatar_url":"https://github.com/supermarsx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI Codex Enhancer\n\n![CI](https://img.shields.io/github/actions/workflow/status/supermarsx/openai-codex-userscript/ci.yml?branch=main)\n![Downloads](https://img.shields.io/github/downloads/supermarsx/openai-codex-userscript/total)\n![Built with TypeScript](https://img.shields.io/badge/built%20with-TypeScript-blue)\n![License](https://img.shields.io/github/license/supermarsx/openai-codex-userscript)\n[![Install](https://img.shields.io/badge/install-userscript-green)](https://github.com/supermarsx/openai-codex-userscript/releases/latest/download/openai-codex.user.js)\n![Stars](https://img.shields.io/github/stars/supermarsx/openai-codex-userscript?style=social)\n![Forks](https://img.shields.io/github/forks/supermarsx/openai-codex-userscript?style=social)\n![Watchers](https://img.shields.io/github/watchers/supermarsx/openai-codex-userscript?style=social)\n![Coverage](https://img.shields.io/badge/coverage-unknown-lightgrey)\n![Commit Activity](https://img.shields.io/github/commit-activity/m/supermarsx/openai-codex-userscript)\n\nOpenAI Codex Enhancer improves the Codex interface with prompt suggestions, sidebars and extensive customization.\n\n**[Install the userscript](https://github.com/supermarsx/openai-codex-userscript/releases/latest/download/openai-codex.user.js)**\nInstall Violentmonkey from https://violentmonkey.github.io/get-it/ to run the userscript.\n\n## Features\n\n- Customisable prompt suggestion dropdown\n- Settings modal with theme, font and UI toggles\n- Repository, version and stats sidebars\n- Persistent prompt history stored in IndexedDB\n- Automatic update checks\n\nThis script reuses Codex's own theme variables so no extra network request is needed.\n\nThe dropdown suggestions can be customised by clicking the gear icon next to the\nlist. A prompt will let you edit one suggestion per line. The updated entries are\nsaved under the `gpt-prompt-suggestions` key in your browser's\nIndexedDB storage, so your changes persist across sessions.\n\n## Settings modal\n\nA floating gear icon is added to the side of the page. Clicking it opens a modal\nwhere you can manage your prompt suggestions and toggle various UI options:\n\n- Switch between Light, Dark and OLED themes.\n- Hide the “What are we coding next?” or “What should we code next?” header.\n- Hide the “Docs” navigation link.\n- Hide the \"Settings\" button.\n- Toggle the repository sidebar that lists detected repositories.\n- Toggle the version sidebar that displays branches for the selected repository.\n- Enable auto-archiving when a task is merged or closed.\n- Import or export your prompt suggestions as a JSON file.\n\nThe chosen settings are stored in IndexedDB so they apply whenever the\nscript runs. By default both repository and version sidebars are visible while\nauto-archiving for merged and closed tasks is disabled. These behaviours can be\ntoggled from the settings modal.\n\n## Prompt history\n\nClick the book icon in the action bar to open the history modal. It lists your\nprevious prompts up to the limit defined by `historyLimit` (50 by default). A\nsearch box filters entries while buttons let you preview, restore or delete\nindividual prompts. Use the **Clear** button to remove all stored history.\nEntries are kept in the `gpt-prompt-history` store of IndexedDB.\n\n## Theme styling\n\nTheme variables for Light and Dark mode are injected from Codex's own CSS so the interface adapts to your system preference. An additional OLED style is provided with deeper blacks. A minimal fallback style keeps the dropdown readable.\nThe script locates the ChatGPT prompt input using a set of fallback selectors:\n\n1. `#prompt-textarea`\n2. `[data-testid=\"prompt-textarea\"]`\n3. The first `.ProseMirror` editor element\n\nIf the page structure changes, update the `findPromptInput` function in\n`openai-codex.user.js` accordingly.\n\n## Installation\n\nInstall the development dependencies with `npm`:\n\n```bash\nnpm install\n```\n\n## Running tests\n\nAutomated tests run in Node using [jsdom](https://github.com/jsdom/jsdom).\nInstall dependencies first to ensure `jsdom` is available, then run the test script:\n\n```bash\nnpm install\nnpm test\n```\n\nThis executes `node test.js` and should print the results of the example DOM\nmanipulations.\n\n## Development setup\n\nAlways run `npm install` before executing `npm test`. The tests depend on the\n`jsdom` package, which is listed under `devDependencies` in `package.json`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupermarsx%2Fopenai-codex-userscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupermarsx%2Fopenai-codex-userscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupermarsx%2Fopenai-codex-userscript/lists"}