freestylefly/awesome-gpt-image-2
Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。
JavaScript★ 31,033+962 that day#7 on trending
6.9%duplicated code · 891 of 12,916 lines
76clones in code
71code files of 129 scanned
3.84%duplicated over all files · 124 clones
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 12 lines in 3 placesjavascript101 tokensapi/admin/community/refund.js:58–69api/admin/community/revoke.js:26–37api/community/alipay/close.js:28–39
58 communityRequestRateKey(req, 'community-admin-refund', auth.user.id), 59 { limit: 10 } 60))) return; 61 62let body; 63try { 64 body = await readJsonBody(req); 65} catch { 66 return res.status(400).json({ ok: false, error: 'INVALID_COMMUNITY_ORDER' }); 67}First 10 of 12 lines.
- 25 lines in 2 placesjavascript190 tokens
11if (req.method !== 'POST') { 12 res.setHeader('Allow', 'POST'); 13 return json(res, 405, { ok: false, error: 'METHOD_NOT_ALLOWED' }); 14} 15 16const auth = await getAuthContext(req); 17if (auth.error) return json(res, auth.status || 401, { ok: false, error: auth.error }); 18if (!auth.profile?.isSuperAdmin) { 19 return json(res, 403, { ok: false, error: 'FORBIDDEN' }); 20}First 10 of 25 lines.
- 14 lines in 2 placesjavascript171 tokens
45export default async function handler(req, res) { 46 if (req.method !== 'POST') { 47 res.setHeader('Allow', 'POST'); 48 return res.status(405).json({ ok: false, error: 'METHOD_NOT_ALLOWED' }); 49 } 50 noStore(res); 51 if (!validateSameOrigin(req)) { 52 return res.status(403).json({ ok: false, error: 'ORIGIN_NOT_ALLOWED' }); 53 } 54 const auth = await getAuthContext(req);First 10 of 14 lines.
7 more
- 13 lines in 3 placesjavascript79 tokens
- 16 lines in 2 placesjavascript153 tokens
- 8 lines in 4 placesjavascript50 tokens
- 18 lines in 2 placesjavascript147 tokens
- 14 lines in 2 placesjavascript145 tokens
- 11 lines in 3 placesjavascript72 tokens
- 11 lines in 3 placesjavascript72 tokens
Largest clones over all files, tests and data included
- 284 lines in 2 placestextdocs and examples996 tokens
2539[CORE TASK] 2540Transform the provided input image into a pose-and-light analysis sheet. 2541 2542This is NOT a finished character illustration. 2543This is NOT a clothing sheet. 2544This is NOT a beauty-preserving redraw. 2545 2546This is a white-line rough mannequin conversion. 2547 2548[PRIMARY GOAL]First 10 of 284 lines.
- 59 lines in 2 placestextdocs and examples901 tokens
1464Role: World-class Scientific Encyclopedia Illustrator & Knowledge Graph Architect. 1465 1466Task: Generate a highly detailed, extremely intricate, and visually stunning "Universal Illustrated Encyclopedia Science Infographic" in a classic, unbranded (… 1467 1468Subject Matter: Choose one from [People, Plants, or Animals]. 1469 1470Specific Subject: [e.g., The Giant Squid / Leonardo da Vinci / The Sequoia Tree]. 1471 1472Style: Fine, detailed scientific illustration on a retro, aged beige paper background. Delicate linework. Intricately complex and professional. 1473First 10 of 59 lines.
- 119 lines in 2 placestextdocs and examples882 tokens
3289GPT-Image-2 prompt: please automatically generate a top-tier concept poster / infographic-style movie poster centered around {argument name="theme" default="ra… 3290 3291Require the AI to automatically derive and uniformly design the entire following visual system based on this theme, without my extra specification: 3292- Core subject (automatically judge suitability for people, products, architecture, artifacts, symbols, scenes, or abstract imagery) 3293- Bottom supporting structure 3294- Hovering symbols or spiritual symbols above 3295- Scene wrapping elements 3296- Metaphor system 3297- Color hierarchy 3298- Material contrastFirst 10 of 119 lines.
- 87 lines in 2 placestextdocs and examples828 tokens
- 84 lines in 2 placestextdocs and examples819 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| javascript | 58 | 6,908 | 74 | 873 | 12.64% |
| jsx | 3 | 5,190 | 2 | 18 | 0.35% |
| bash | 9 | 644 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| javascript | 65 | 7,828 | 74 | 873 | 11.15% |
| sql | 12 | 2,198 | 24 | 514 | 23.38% |
| text | 4 | 10,088 | 11 | 597 | 5.92% |
| markdown | 14 | 23,841 | 10 | 96 | 0.4% |
| jsx | 3 | 5,190 | 2 | 18 | 0.35% |
| bash | 12 | 713 | 2 | 46 | 6.45% |
| css | 3 | 4,477 | 1 | 8 | 0.18% |
| json | 10 | 1,307 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
| markup | 3 | 166 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Sep 11, 2026 | #7 | 31,033 (+962) | 129 | 56,019 | 124 | 3.84% | 6.9% | — | 073d105 |
| Sep 10, 2026 | #9 | 30,264 (+705) | 129 | 68,471 | 105 | 3.36% | — | — | 073d105 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.