{"id":38697194,"url":"https://github.com/andybons/smartquote","last_synced_at":"2026-01-17T10:41:59.389Z","repository":{"id":332687269,"uuid":"1130767219","full_name":"andybons/smartquote","owner":"andybons","description":"Smart quotes for dumb llms","archived":false,"fork":false,"pushed_at":"2026-01-11T15:14:14.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T08:06:38.481Z","etag":null,"topics":["ai","ai-sdk","streaming","typescript","typography"],"latest_commit_sha":null,"homepage":"https://smartquote.bons.dev","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/andybons.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":"2026-01-09T01:34:51.000Z","updated_at":"2026-01-11T15:14:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/andybons/smartquote","commit_stats":null,"previous_names":["andybons/smartquote"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/andybons/smartquote","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fsmartquote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fsmartquote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fsmartquote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fsmartquote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andybons","download_url":"https://codeload.github.com/andybons/smartquote/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fsmartquote/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28506593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ai","ai-sdk","streaming","typescript","typography"],"created_at":"2026-01-17T10:41:59.310Z","updated_at":"2026-01-17T10:41:59.372Z","avatar_url":"https://github.com/andybons.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smartquote\n\nSmart quote conversion utilities for typographically correct quotes.\n\n## Why this exists\n\nSome LLMs (all Anthropic models, for instance) are incapable of outputting smart quotes, even when explicitly asked—and [Anthropic has confirmed](https://github.com/anthropics/anthropic-sdk-typescript/issues/561#issuecomment-2442675237) this won't be fixed anytime soon. This package provides a streaming transform for AI output and an ESLint rule/autofix for vibe-coded JSX/TSX.\n\n## Packages\n\n| Package                             | Description                                                                   |\n| ----------------------------------- | ----------------------------------------------------------------------------- |\n| [smartquote](./packages/smartquote) | Core library with streaming API, Vercel AI SDK integration, and ESLint plugin |\n| [smartquotes (Python)](./python)    | Python port of the core conversion logic                                      |\n\n## Quick Start\n\n```bash\nnpm install smartquote\n```\n\n```typescript\nimport { smartQuotes } from \"smartquote\";\n\nsmartQuotes('\"Hello,\" she said.');\n// → “Hello,” she said.\n```\n\nSee the [package README](./packages/smartquote/README.md) for full API documentation.\n\n## Examples\n\n- [vercel-ai-sdk](./examples/vercel-ai-sdk) - Streaming AI responses with smart quote conversion\n- [eslint](./examples/eslint) - ESLint plugin for JSX/TSX files\n\n## Development\n\nThis is a pnpm monorepo.\n\n```bash\npnpm install          # Install dependencies\npnpm build            # Build all packages\npnpm test             # Run tests\npnpm lint             # Lint all packages\npnpm check-types      # Type check all packages\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandybons%2Fsmartquote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandybons%2Fsmartquote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandybons%2Fsmartquote/lists"}