{"id":32746638,"url":"https://github.com/critical-graphite/pencel","last_synced_at":"2026-05-17T03:31:43.175Z","repository":{"id":319831593,"uuid":"1055439847","full_name":"critical-graphite/pencel","owner":"critical-graphite","description":"Build fast, framework-agnostic web components — no virtual DOM","archived":false,"fork":false,"pushed_at":"2025-10-27T19:55:10.000Z","size":3748,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-27T21:19:35.511Z","etag":null,"topics":["lightweight","modular","pencel","reactive","ui","web-components"],"latest_commit_sha":null,"homepage":"http://critical-graphite.github.io/pencel/","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/critical-graphite.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,"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":"2025-09-12T09:12:42.000Z","updated_at":"2025-10-27T19:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"3903c2c1-a9ef-40b2-87ef-b634de6b3b61","html_url":"https://github.com/critical-graphite/pencel","commit_stats":null,"previous_names":["max-scopp/pencel","critical-graphite/pencel"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/critical-graphite/pencel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critical-graphite%2Fpencel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critical-graphite%2Fpencel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critical-graphite%2Fpencel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critical-graphite%2Fpencel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/critical-graphite","download_url":"https://codeload.github.com/critical-graphite/pencel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critical-graphite%2Fpencel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33126436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"online","status_checked_at":"2026-05-17T02:00:05.366Z","response_time":107,"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":["lightweight","modular","pencel","reactive","ui","web-components"],"created_at":"2025-11-03T19:00:24.926Z","updated_at":"2026-05-17T03:31:43.168Z","avatar_url":"https://github.com/critical-graphite.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# ✏️ Pencel\n\nWrite components once. Output to React, Angular, Vue, and vanilla JS.\n\n[![CI](https://github.com/critical-graphite/pencel/actions/workflows/ci.yml/badge.svg)](https://github.com/critical-graphite/pencel/actions/workflows/ci.yml)\n[![FTA Code Quality](https://github.com/critical-graphite/pencel/actions/workflows/fta.yml/badge.svg)](https://github.com/critical-graphite/pencel/actions/workflows/fta.yml)\n[![Size Limit](https://github.com/critical-graphite/pencel/actions/workflows/size-limit.yml/badge.svg)](https://github.com/critical-graphite/pencel/actions/workflows/size-limit.yml)\n\n\u003c/div\u003e\n\n## Quick Example\n\n```tsx\nimport { Component, Prop, Event } from '@pencel/runtime';\n\n@Component({ tag: 'my-button' })\nexport class MyButton extends HTMLButtonElement {\n  @Prop() label = 'Click me';\n  @Event() declare clicked: CustomEvent\u003cvoid\u003e;\n\n  render() {\n    return (\n      \u003cHost onClick={() =\u003e this.clicked.emit()}\u003e\n        {this.label}\n      \u003c/Host\u003e\n    );\n  }\n}\n```\n\n## Features\n\n- **Framework Agnostic** – One source, multiple outputs\n- **Full Native Control** – Extend HTML elements directly\n- **Lean Runtime** – ~4 kB gzipped\n- **TypeScript First** – Decorators, JSX, type-safe\n- **Pure Web Components** – Transpiler output, not vendor lock-in\n\n## Documentation\n\n[Read the docs](https://critical-graphite.github.io/pencel/) for setup, best practices, and internals.\n\n## Contributing\n\nPencel is an ambitious project, and contributions and feedback are **highly welcome**! This is a significant undertaking for a single developer, so any help—whether it's bug reports, feature suggestions, documentation improvements, or code contributions—makes a real difference.\n\n**Built with** TypeScript \u003e5, Nx, Biome, Bun and tsdown. See [Understanding Pencel](https://critical-graphite.github.io/pencel/internals/understanding/) for architecture details.\n\n### Getting Started\n\nIf you'd like to contribute, here are a few quick tips:\n\n- **Have feedback?** Open an issue or discussion—all ideas are appreciated!\n- **Ready to contribute code?** Fork the repo, make your changes, and submit a pull request.\n- **Check your work before pushing:**\n  - Run `biome check . --write` to auto-fix formatting issues\n  - Run `bun test` to catch test failures locally\n  - The CI pipeline will report all issues (tests, type checks, lint, format) on your PR\n\nThank you for helping make Pencel better! 🙏\n\n### On AI-Generated Code\n\nPencel couldn't move at this pace without AI assistance. However, disrespectful or unacknowledged use of AI ensures that problem volume and technical debt will rise.\n\nAI is a \"yes-sayer\"—it can drastically improve velocity by shifting humans into a tutor and reviewer role, effectively handling scaffolding and boilerplate while humans focus on architecture and decision-making. But **human work, knowledge, and judgment remain the most critical part of development.**\n\nAI code generation is not discouraged, but it must be handled with respect and rigor:\n\n- **Review thoroughly** – Don't assume AI output is correct.\n- **Test extensively** – AI can introduce subtle bugs.\n- **Be aware of prompt injection risks** – Especially when processing external input.\n- **Acknowledge AI contributions** – Transparency builds trust.\n- **Maintain ownership** – The human is always responsible for the final code.\n\nAI is a powerful tool, not a replacement for careful engineering.\n\n## License\n\nMIT © Max Scopp","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcritical-graphite%2Fpencel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcritical-graphite%2Fpencel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcritical-graphite%2Fpencel/lists"}