Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungWe Built a CLI to Find Out If You’re Overpaying for Claude(24.09.2026 um 04:35 Uhr)
Sichere ProgrammierungMy own sandbox was killing my agent's shell, and the exit code hid it(24.09.2026 um 04:38 Uhr)
Sichere ProgrammierungHow three OSLabs engineers built a CLI to catch you overpaying Claude(24.09.2026 um 04:45 Uhr)
Sichere ProgrammierungBreaking CI Guards on Purpose to Prove They Can Fail(24.09.2026 um 05:00 Uhr)
IT Security NachrichtenLangfristige Updatefähigkeit als Pflicht(24.09.2026 um 05:03 Uhr)
Sichere ProgrammierungWe Built a CLI to Find Out If You’re Overpaying for Claude(24.09.2026 um 04:35 Uhr)
Sichere ProgrammierungMy own sandbox was killing my agent's shell, and the exit code hid it(24.09.2026 um 04:38 Uhr)
Sichere ProgrammierungHow three OSLabs engineers built a CLI to catch you overpaying Claude(24.09.2026 um 04:45 Uhr)
Sichere ProgrammierungBreaking CI Guards on Purpose to Prove They Can Fail(24.09.2026 um 05:00 Uhr)
IT Security NachrichtenLangfristige Updatefähigkeit als Pflicht(24.09.2026 um 05:03 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

I built a terminal snippet manager that stores snippets as Markdown files you can git-track

You write a clever one-liner. You close the terminal. Three weeks later you're Googling the same thing again. That loop is what made me build snip a local, offline TUI snippet manager that lives entirely in your terminal. No browser, no…

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

You write a clever one-liner. You close the terminal. Three weeks later you're Googling the same thing again.



That loop is what made me build snip a local, offline TUI snippet manager that lives entirely in your terminal. No browser, no account, no cloud dependency.



https://github.com/phlx0/snip









How it works



snip is built on Python + Textual. The UI gives you a searchable list on the left, a syntax-highlighted preview on the right, and a modal form for creating or editing snippets.



Storage went through a significant architecture change in v0.7.0. Snippets are now stored as individual Markdown files with YAML frontmatter in ~/.config/snip/snippets/. A SQLite index (snip.db) sits alongside and is rebuilt from those files on startup it exists purely for fast querying and is excluded from git via an auto-created .gitignore.



This means your snippets directory is a plain folder of .md files you can track with git, push to a private repo, and sync across machines without any special tooling.




~/.config/snip/
snippets/
a1b2c3d4e5f6.md # each snippet is its own file
...
snip.db # git-ignored index, rebuilt on startup
config.json # theme preference
.gitignore












CLI first, TUI second



The TUI is the main interface, but snip is fully scriptable from the command line:




snip                          # open the TUI
snip "docker run" # non-interactive lookup, prints + copies to clipboard
snip --exec "deploy script" # run a snippet directly as a shell command
snip --list | fzf | xargs snip # fzf integration
snip --add ./script.sh # save a file as a snippet, language auto-detected
snip --export > backup.json # dump all snippets to JSON
snip --import snippets.json # bulk import
snip --from-history # pick from shell history and save as snippet
snip --json "query" # output full metadata as JSON for scripting
snip init zsh # print shell completion script












Theme system



As of v0.6.0, all UI colors are driven by a Theme dataclass and snip.tcss uses CSS variables throughout. Built-in themes are tokyo-night (default) and dracula.



Custom themes are plain JSON files stored in ~/.config/snip/themes/ shareable as Gists or committed to dotfiles. Syntax highlighting colors (via Pygments) and all Rich inline markup adapt to the active theme.




snip theme list
snip theme set dracula
snip theme import ~/my-theme.json
snip --theme dracula # one-session override












Install






# One-liner (Linux / macOS)

curl -fsSL https://raw.githubusercontent.com/phlx0/snip/main/install.sh | bash







The installer creates an isolated virtualenv at ~/.local/share/snip, drops a launcher at ~/.local/bin/snip, and patches your shell config if needed.









What's next



I'm thinking about import/export compatibility with other snippet tools (Raycast, VS Code snippets) and potentially a watch mode that syncs changes from the filesystem back into the index in real time.



Feedback welcome — especially if you use a snippet manager already and have opinions on what's missing.



Source: https://github.com/phlx0/snip

CTI Threat Relationship Graph3 Knoten / 2 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - I built a terminal snippet manager that stores snippets as Markdown files you can git-track
id: 9a945f2f-7e67-40d1-b610-850c23441e33
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "I built a terminal snippet man" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich I built a terminal snippet manager that .... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I built a terminal snippet manager that stores snippets as Markdown files you can git-track

Thematisch verwandte Begriffe: built, terminal, snippet, manager · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-96676 | A vulnerability was identified in Fast FAC1900R 20190827_2.0.2. The impa…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
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
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick