{"id":51203931,"url":"https://github.com/stackoverprof/content-expose","last_synced_at":"2026-06-28T02:06:56.689Z","repository":{"id":336350151,"uuid":"1149230698","full_name":"stackoverprof/content-expose","owner":"stackoverprof","description":"Zero-dependency content management dev tool","archived":false,"fork":false,"pushed_at":"2026-02-13T07:54:03.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-13T14:57:24.955Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackoverprof.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-03T21:52:33.000Z","updated_at":"2026-02-13T07:54:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stackoverprof/content-expose","commit_stats":null,"previous_names":["stackoverprof/content-expose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stackoverprof/content-expose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackoverprof%2Fcontent-expose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackoverprof%2Fcontent-expose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackoverprof%2Fcontent-expose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackoverprof%2Fcontent-expose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackoverprof","download_url":"https://codeload.github.com/stackoverprof/content-expose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackoverprof%2Fcontent-expose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34874571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"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":[],"created_at":"2026-06-28T02:06:55.985Z","updated_at":"2026-06-28T02:06:56.677Z","avatar_url":"https://github.com/stackoverprof.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# content-expose\n\nA lightweight content editing devtools panel for React applications. Edit your JSON content in real-time with live preview.\n\n## Installation\n\n```bash\nnpm install content-expose\n# or\npnpm add content-expose\n# or\nyarn add content-expose\n```\n\n## Usage\n\n### 1. Initialize in your root component\n\n```tsx\n// app/root.tsx or similar\nimport { initContentExpose, ContentExpose } from 'content-expose';\nimport rawContent from '../content.json';\n\n// Initialize with your content\ninitContentExpose(rawContent);\n\nexport default function App() {\n  return (\n    \u003c\u003e\n      \u003cOutlet /\u003e\n      \u003cContentExpose /\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n### 2. Use content anywhere\n\n```tsx\n// Any component\nimport { content } from 'content-expose';\n\nexport function Navbar() {\n  return \u003cimg src={content.settings.logo.url} /\u003e;\n}\n\nexport function Footer() {\n  return \u003cspan\u003e{content.settings.company_name}\u003c/span\u003e;\n}\n```\n\n## Features\n\n- **Keyboard shortcut**: Press `Cmd+E` (Mac) or `Ctrl+E` (Windows/Linux) to toggle the panel\n- **Live preview**: Edit JSON and see changes immediately after clicking Preview\n- **Tabbed interface**: Only shows content keys you've actually accessed\n- **Draggable \u0026 resizable**: Position the panel wherever you want\n- **Export**: Copy the full JSON to clipboard for easy PR creation\n- **Reset**: Revert to original content at any time\n\n## How it works\n\n1. `initContentExpose()` stores your raw content in a singleton\n2. The `content` export is a Proxy that tracks which keys are accessed\n3. `ContentExpose` component shows tabs only for accessed content sections\n4. Preview stores modified content in localStorage and reloads\n5. The proxy returns localStorage content when available\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackoverprof%2Fcontent-expose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackoverprof%2Fcontent-expose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackoverprof%2Fcontent-expose/lists"}