feat: Code to image
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, typescript, vite
Hướng nghiên cứu
Start with “Adding a tool” in docs/CODEMAP.md, then inspect src/tools/, src/tools/catalog.ts, and src/tools/registry.tsx to follow the existing tool pattern. Build the code editor, language and theme choices, image export, and clipboard flow using browser APIs; add Vitest coverage for the tool logic. Done means the catalog and registry entries work, nothing leaves the browser, and the tool handles offline use, light and dark mode, and phone width without layout shift.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Why
Sharing a nice image of a code snippet (carbon.now.sh, ray.so) is popular, but those sites are online-only and some of the nicer ones are paid.
Replaces: carbon.now.sh, ray.so.
Scope
- Paste code, pick a language and a theme, window chrome on or off, padding and background.
- Light syntax highlighting without a big dependency: a small tokenizer for the top languages is enough, or get approval for a highlighter.
- Export PNG or SVG, copy to clipboard.
Dependency
None. Web APIs only (canvas or SVG foreignObject, Clipboard API).
Done when
- Logic lives in
src/tools/<slug>/<slug>.tswith a Vitest test; the component only renders it. - One entry in
src/tools/catalog.ts(category, audience, keywords,replaces) and one insrc/tools/registry.tsx. See "Adding a tool" indocs/CODEMAP.md. - Nothing leaves the browser. It works offline once the page has loaded.
- Works in light and dark mode and at phone width, with no layout shift when its state changes.
- Ngôn ngữ chính
- TypeScript
- Star
- 2
- Fork
- 1
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ajithakdev/toolglass
-
devex
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ajithakdev/toolglass#145 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
ajithakdev/toolglass#143 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement later platform
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ajithakdev/toolglass#195 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement later platform ux
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
ajithakdev/toolglass#194 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue platform ux
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
ajithakdev/toolglass#193 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ajithakdev/toolglass
Issue tương tự
-
Translate the appĐang mởgood first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Mikiyas-Meles-Assefa/opensourcebook#154 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rowbinary: typeStringToReader keeps Variant members in text order, so Variant(Int64, Float64) reads 7 as 3.5e-323Có thể đã có người làm @rwits08 đã nhận hôm nay. Đang mởbug data-types
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ClickHouse/clickhouse-js#1293 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
sidebandstudio/clawtrate#1863 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent/quality testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
cncf/techdocs#463 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Có thể đã có người làm @carlosrobert0 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 2 ngày