Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Sichere ProgrammierungHow to fork a Claude Code or Codex session to try another approach(29.09.2026 um 14:08 Uhr)
•
Sichere ProgrammierungYour 'Save' Button Makes Copies. The File System Access API Doesn't.(29.09.2026 um 14:10 Uhr)
••
Sichere ProgrammierungHow to Protect Your Data Before a Phone or Laptop Repair(29.09.2026 um 14:10 Uhr)
•
Sichere ProgrammierungNuxt Server Routes Explained: How Nitro Builds Your API(29.09.2026 um 14:10 Uhr)
•
Sichere ProgrammierungWhat AI Context Limitations Teach About Software Development(29.09.2026 um 14:11 Uhr)
•
AI & KI NachrichtenPro Seats vs Metered API: Where the Break-Even Actually Falls(29.09.2026 um 14:11 Uhr)
••
Malware / Trojaner / VirenThe devil is still in the email – but wearing a new mask(28.09.2026 um 11:00 Uhr)
•
Linux Tipps & HardeningValve made a Steam Frame Dongle troubleshooting script for Linux gamers(29.09.2026 um 13:58 Uhr)
•
Sichere ProgrammierungHow to fork a Claude Code or Codex session to try another approach(29.09.2026 um 14:08 Uhr)
•
Sichere ProgrammierungYour 'Save' Button Makes Copies. The File System Access API Doesn't.(29.09.2026 um 14:10 Uhr)
••
Sichere ProgrammierungHow to Protect Your Data Before a Phone or Laptop Repair(29.09.2026 um 14:10 Uhr)
•
Sichere ProgrammierungNuxt Server Routes Explained: How Nitro Builds Your API(29.09.2026 um 14:10 Uhr)
•
Sichere ProgrammierungWhat AI Context Limitations Teach About Software Development(29.09.2026 um 14:11 Uhr)
•
AI & KI NachrichtenPro Seats vs Metered API: Where the Break-Even Actually Falls(29.09.2026 um 14:11 Uhr)
••
Malware / Trojaner / VirenThe devil is still in the email – but wearing a new mask(28.09.2026 um 11:00 Uhr)
•
Linux Tipps & HardeningValve made a Steam Frame Dongle troubleshooting script for Linux gamers(29.09.2026 um 13:58 Uhr)
•
Intelligence View
⚡ tsecurity.de Intelligence

Gist Share

I've been working on a "passion project" for a bit now while I'm between paid work. It's not open-source just yet but soon as I polish the codebase. I was inspired by https://carbon.now.sh/ for sharing code snippets on social media but I…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

I've been working on a "passion project" for a bit now while I'm between paid work. It's not open-source just yet but soon as I polish the codebase.



I was inspired by https://carbon.now.sh/ for sharing code snippets on social media but I wanted a tight integration with Github's Gists, a focus on embedding the code in posts like Markdown with access to the code.



I thought I'd test out NuxtHub powered by Nuxt (Vue.js) and a tight integration with Cloudflare Pages/Workers and other solutions.



So I've run iteration after iteration (iteratively) as I hit walls. So firstly to highlight code you generally want a library like highlighter.js or what I went with Shiki



The first wall, you cannot upload every language and every theme on a free plan to cloudflare. So importing them will fail the deploy.



The languages are much more important, for some reason there is a hard fail in Shiki if a language is not found instead of falling back to plaintext.



I eventually hacked this and loaded the CDN version with vue's useHead feature. to on demand require the correct languages.



The next hurdle was I wanted "OG" images or images to share and embed with posts. I tried NuxtHub/CloudFlare's browser api for on demand rendering but on the free plan it's not feasible.



So I went to trusty html2canvas It works really well with some caveats; which I hit. It does not render SVG backgrounds well, or complicated CSS3 gradients. to hack this I basically append a png background if screenshot is occurring, this happens only if the og:image hasn't been created/uploaded before.



I hit some more walls that I will go into next post, I also solved the html2canvas issue.



Feel free to checkout an example here https://gist-share.nuxt.dev/gist/9bd761223a76e148af576546cd1e3e93

2. Cyber Threat Intelligence & Forensik

IoC Intelligence (1 Indikatoren)
9bd761223a76e148af576546cd1e3e93
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Gist Share

Thematisch verwandte Begriffe: Gist, Share · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-102247 | A vulnerability was detected in FastAdmin 1.6.1.20250430/1.6.5.20260602…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag