Skip to content

Releases

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 11:09
78cb6c9

Added

  • The main window. Clicking the Dock icon opens one window with a sidebar for the areas Zwischenablage, Snippets, Notizen, Pasteboards, Templates and Einstellungen (⌘1 to ⌘6). Each area lists its entries on the left and shows the selected one on the right, with a list width you can drag, a search field in the toolbar and the same fonts and cards everywhere. The menu bar menu is shortened to a few entries that open the window on the matching area.

  • Settings in the main window: pausing, launch at login, pasting, capture, retention, privacy rules, Bitwarden, appearance, the filter editor and the shortcuts window. The import of text files is a section of the settings.

  • Modules. Snippets, Notizen, Pasteboards and Templates can each be switched off in the settings (all on by default). A switched-off module leaves the sidebar, the menus, the palette (including the Pasteboard filter and @Name) and the shortcut list, snippet collection stops, and its data stays and returns when the module is switched on again.

  • Export of all data from the settings: a re-importable backup (.clipknot-backup, with images and formatted notes), readable JSON, or CSV (one file per module, safe against spreadsheet formulas). Parked secrets and anything the secret detector flags are never exported (texts you declared "not a secret" are). "Sicherung importieren" merges a backup into the existing data without duplicates; importing the same backup twice changes nothing.

  • Secret exceptions can be added in the settings: a text you declare "not a secret" is stored as a keyed fingerprint only.

  • The clipboard lists load 200 entries and the next 200 when you scroll to the end, for all lists, searches and the pasteboard filter.

  • Snippets can be edited in the Snippets area (the text of the shown variant, anonymised again on saving), and the table has a "Varianten" column with the variant count.

  • Pasteboards show image thumbnails and colour swatches like the clipboard list.

  • A note can be turned back into a floating note from the Notes area ("Als schwebende Notiz lösen").

  • In the palette, hovering an image row shows a larger preview to the left of the palette.

  • Templates and the filter editor explain what they are for in the window itself.

  • Option shortcuts, Swiss phone numbers and hyphenated commands are recognised.

  • A sandbox mode (./scripts/sandbox.sh) starts a copy of the app with demo data in a separate directory and takes screenshots, without touching the real data.

  • Filter shortcuts work in the palette. In the filter menu (⌥Return) "Kürzel eingeben …" asks for the shortcut of a custom filter (case does not matter) and applies that filter to the selected entry; an unknown shortcut applies nothing and shows "Kein Filter mit dem Kürzel …". A custom filter you applied is remembered as the last filter, so ⌃⌥F pastes the newest entry through it, also after a restart. It is kept by id, so renaming the filter does not lose it; after it was deleted, ⌃⌥F says the filter no longer exists. The size limits of custom filters (input over 4 MB, output over the cap) apply there as well and abort with a notice. A last filter saved by an earlier version is read as before.

  • Custom filters. "Filter verwalten …" in the menu bar menu opens a filter window: a list of the built-in filters and your own, in groups, with a search (by name or shortcut), the steps of the selected filter and a live "Before" / "After" preview on a sample text you can edit. A custom filter is a chain of steps: any built-in filter, "Präfix", "Suffix" or "Ersetzen" (literal text, case-sensitive), reordered with the arrow buttons; there is no scripting. A shortcut per filter (one word of letters, digits, - or _, not case sensitive) is checked while you type: one that another filter or a built-in filter name already uses is reported with its holder and refused on save. "Exportieren …" writes your filters to a JSON file; "Importieren …" reads one and adds its filters under new ids, and a file that is not a ClipKnot filter file, has an unknown version or step, an invalid filter, a taken shortcut or a name twice, or is over 1 MB is rejected as a whole with the reason. The filters appear in the palette's filter menu (⌥Return) below the built-in ones. A custom filter is not run on a text over 4 MB, and a filter whose steps would blow the text up beyond ten times its size (at least 1 MB, at most 8 MB) is aborted; the editor preview works on the first 20 000 characters of the sample: the editor preview says "Ergebnis zu gross" and the palette pastes nothing and shows a notice. They are stored in the settings of the encrypted database; no schema migration is needed.

  • Two more global shortcuts and a settings window for all of them. ⌃⌥P ("Vorheriges Element einfügen") pastes the history entry copied before the newest one, with its formatting or image; ⌃⌥F ("Aktuellen Eintrag mit letztem Filter einfügen") pastes the newest entry through the filter you picked last with ⌥Return in the palette (kept across restarts; a note says so when none was used yet, and for images). Parked secrets are never pasted. Both items are in the menu with their combination, and the menu says "Kurzbefehl … ist belegt" when another app holds it. "Kurzbefehle …" lists every shortcut (palette, snippets, queue, new note and the two new ones); click one and press the new combination, Esc cancels. A combination without ⌃ or ⌘ (⌥ only counts together with ⇧), one macOS keeps for itself (for example ⌘Space) and one that another ClipKnot action already uses are refused with a message, and so is one another app holds. "Zurücksetzen" restores the defaults. The choices are stored in the encrypted settings.

  • Colours and images show a preview. A colour entry shows a swatch and its hex value (#RRGGBB, or #RRGGBBAA with transparency; read from hex, rgb() and hsl() text), an image entry a thumbnail with its pixel size, in the palette, in the history area list and large above the text in its detail. Thumbnails are made with ImageIO from the stored bytes without decoding the full image, at low priority off the main thread, and cached in memory (200 at most), so the palette opens without waiting. A row shows a grey placeholder until its thumbnail is ready, and keeps the type icon when a colour text cannot be read.

  • Formatting is kept. A text copied from a document or a web page is stored with its RTF and HTML next to the plain text, and pasting it from the palette (Return in history mode) or with the copy button of the history window writes the plain text and the formatting to the clipboard, so a word processor gets the formatted text and a terminal the plain one. Search, duplicate detection and the paste queue stay on the plain text. «Plain Text» in the filter menu (⌥Return) pastes without formatting; filters, templates, snippets and the queue are plain as before. The history detail says «Enthält Formatierung (RTF, HTML)». The formatting is stored in the encrypted database (schema migration 21) with limits: 1 MB per format, no formatting for a text over 200 KB, 200 MB for all formatting together (the oldest goes first, the text stays). A new copy replaces the formatting of the same text, and a plain re-copy removes it. The formatting passes the secret check as well: the markup is read in several ways (as is, with entities decoded, with tags removed, RTF escapes decoded) and your ignore rules apply too. If anything looks like a secret, or the markup carries embedded data (a base64 URI, an RTF object) or is not UTF-8 text, all formatting of that copy is dropped and only the plain text is stored. Limits: formatting is not exported, a text you marked «kein Secret» loses its formatting when the markup also matches, and the secret check cannot catch every secret hidden in markup (a random-looking value in an attribute such as title or data-* with no known prefix and no label like token= is not recognised, because identifiers in attributes would otherwise block most formatting).

  • The text in copied images is recognised and searchable. After an image is captured, ClipKnot reads its text on the device (Vision framework, German and English, no network) at low priority, and a search for a word in a screenshot finds the entry. Images stored before are read in the background after the start. In the palette and the history window such an entry carries "Text aus Bild"; the history detail shows the recognised text below the label. The menu item "Text in Bildern erkennen" (on by default) switches it off; switching off also deletes the recognised text from the database and the search index, and switching on reads the images again. The recognised text goes through a stricter secret check than copied text (lines are also joined, whitespace and dash look-alikes are normalised, long mixed tokens and a credential label next to a value count) and through your ignore rules. If it matches, no text is stored for that image and the detail says so; the image itself is still stored, as before. A failed recognition is tried again up to three times. The database gets three columns and an index (schema migration 20). Reading handwriting, low-contrast or tiny text is unreliable, and the secret check cannot catch every secret that OCR garbles.

  • Images from the history can be pasted again. Return on an entry of the type "Bild" in the palette puts the stored PNG or TIFF on the clipboard and pastes it into the app you came from; the copy button in the history window copies the image instead of its label. "Vorherige Zwischenablage wiederherstellen" brings back the previous clipboard even when it held an image, and the paste is not captured again as a new...

Read more

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 00:13
25e7006

Added

  • Sticky notes: «Neue Notiz» in the menu or ⌃⌥K opens a floating note that stays above other windows and can be moved and resized. Notes support bold, italic, bullet lists, checklists (☐ / ☑ marker lines, a click on the box ticks it) and simple tab-aligned tables, in five colours. Content, position, size and colour survive a restart; they are stored as RTF in a new notes table of the encrypted database (schema migration 17). Notes are separate from the clipboard history and are never searched, exported or cleaned up by retention. A stored position that is off every screen is moved onto the first screen, a damaged colour falls back to yellow. The close button hides a note; «Alle Notizen anzeigen» shows hidden ones again. A table is a tab-separated block with tab stops, not a real table object, and a checklist is a text marker line.
  • The palette suggests what to paste next. When it opens without a query, up to three entries stand at the top with the subtitle "Vorschlag: …" and the signals behind them: the entry that followed the one you pasted last in earlier pastes ("Folge", within half an hour of that paste), entries you pasted into the app that is about to receive the paste ("Ziel-App"), entries copied in the running session ("Sitzung") and entries copied in earlier sessions of the same topic ("Thema"). It is a count over your local history, with no model and no network. Pastes from the palette are now logged (entry id, time and target app only, never text; removed together with the entry). The menu item "Nächste Einfügung vorschlagen" (on by default) switches the suggestions and the logging off. ./scripts/eval.sh --suggestions replays fictional pastes and compares the hit rate with a palette that lists the latest copies; with --real it does the same on your own history, read-only and with numbers only (see eval/README.md). Apple Intelligence stays a possible optional follow-up.
  • Copied images are captured. A PNG or TIFF on the clipboard (a screenshot, an image copied from a browser or an editor) becomes a history entry of the type "Bild" with the source app, shown in the history window and the palette with a label such as "Bild PNG, 12 KB (3fa9c1d2)". The bytes are stored in the encrypted database. Copying the same image again counts as a duplicate of the earlier entry. "Maximale Bildgrösse" in the "Erfassung" menu (1, 5, 10, 50 MB; default 10 MB) skips larger images. A copy that also carries text, a URL or files is still stored as text. The secret detector does not look into images, so a screenshot with a password is stored unchanged. Previews, text recognition and pasting images are not part of this change. The database gets a new column (schema version 16).
  • Pasteboards group history entries under a name. The menu item "Pasteboards" creates, renames and deletes them and lists their entries; in the history window the "Pasteboard" button adds the selected entry to a pasteboard or removes it again, also into a new one. Entries in a pasteboard are never removed by retention or by emptying deleted items; deleting a pasteboard only ungroups its entries. Every entry in a pasteboard can have a shortcut (one word of letters, digits, - or _, not case sensitive) that is unique across all pasteboards: setting one that another entry already uses is refused and names the pasteboard that holds it. Typing a shortcut in the palette puts that entry on top, and @Name at the start of the palette query (for example @Work docker) searches that pasteboard only. The history window has a pasteboard filter in its toolbar. Pinned entries now always stand at the top of the palette and say "angeheftet". The database gets two tables (schema version 15); nothing existing changes.
  • Global templates with fields. "Templates verwalten …" in the menu opens a window to create, edit and delete templates (a name and a text). Fields are written in double braces: {{name}} is free text, {{name:date}} a date (also {{date}}), {{name:clipboard}} the clipboard text (also {{clipboard}}) and {{name:choice:a|b|c}} one of the options; a name used twice is asked once. Templates are found in the palette (Tab switches between history, snippets and templates; "Template-Suche öffnen" in the menu opens it directly). Return on a template opens a form with one input per field (Tab moves on, "Abbrechen" or Esc pastes nothing) and pastes the filled text like any palette entry. Anything that is not a valid field, including a field without a value, stays as written. Templates are stored in their own table and never enter the history, the snippets or the secret handling, and the pasted result is not captured as a new copy. A clipboard field stays empty when the clipboard holds a secret. Database migration 14 adds the table.
  • A paste queue fills several fields one after another. The menu item "Warteschlange" shows how many entries are queued and holds "Sequenz-Modus (neue Kopien anhängen)", "Nächsten Eintrag einfügen (⌃⌥N)", "Warteschlange anzeigen …" and "Warteschlange leeren". With the sequence mode on, every copy that is stored is appended to the queue (skipped copies, secrets and ClipKnot's own pastes are not). In the palette ⌘Return puts the selected history or snippet entry at the end of the queue and keeps the palette open; Tab now also cycles to the queue view, where ⌥↑ and ⌥↓ reorder the selected entry, ⌘Delete removes it and Return pastes it. ⌃⌥N pastes the first queued entry into the app in front and moves on; a short note shows how many are left and says when the queue is empty. Like the palette paste it needs the Accessibility permission; without it the entry is only copied, and the queue still moves on so you can paste it by hand. The queue holds up to 100 entries and lives in memory only: it is gone after a restart, and switching the sequence mode off keeps it.
  • ⌥Return in the palette opens the menu "Einfügen mit Filter …" and pastes the selected entry transformed by the chosen filter: Kleinbuchstaben, Grossbuchstaben, Titelschreibweise, Plain Text (strips HTML tags and decodes common entities), URL kodieren, URL dekodieren, Liste als HTML (one <li> per line, bullets and numbers dropped), Absatz-Tag (<p> per block, <br> for single line breaks) and Leerzeichen trimmen. The history entry is not changed. The filters are pure functions that can be chained, which later custom filters will build on.
  • The menu item "Aufbewahrung" ("Für immer" by default, "30 Tage", "90 Tage", "365 Tage") deletes history entries whose last copy is older than the chosen period; the background maintenance does it, together with the entity, band and link data of the entries and sessions that become empty. Pinned and starred entries, entries in the bin (they follow their own 30-day undo window), live parked secrets, entries in a pasteboard and snippets are never deleted. Choosing a period that would delete entries first asks with their number; the question comes once per period, and not at all when nothing would be deleted. The choice and the confirmations are saved, a missing or invalid saved value falls back to "Für immer".
  • «Erscheinungsbild …» in the menu opens a settings window with light / dark / system, accent colour, text size and row density. The palette, history window, snippet explorer and import window follow the choice without a restart, it is saved with the other settings, and «Zurücksetzen» restores the defaults. Every accent colour keeps at least a 3:1 contrast against the window background in light and dark. The accent colour tints only the type icons in the palette and history window, which turn white in the selected row (not selection, links, buttons or the explorer); the system choice uses the macOS accent colour and falls back to a neutral grey when that colour would have less than 3:1 contrast.
  • The menu item "Erfassung" sets how copies are captured: "Leerraum am Rand trimmen" (on by default, as before) switches the trimming of surrounding whitespace off, so a copy is stored and hashed with its leading and trailing spaces and line breaks (line endings are still unified), and "Mindestlänge" (1, 2, 5, 10; default 2) and "Maximallänge" (10 000, 100 000, 1 000 000; default 1 000 000) keep shorter or longer texts out of the history. Lengths count characters after trimming, so an emoji or a letter with a combining mark counts once. A text that is detected as a secret is still handled as a secret when it is outside the length limits. Entries stored earlier are not changed; a missing or invalid saved value falls back to its default.
  • Colors and phone numbers are recognised as their own content types. Hex values (#BF5AF2, #fff, with alpha), rgb()/rgba() and hsl()/hsla() values and copies that carry a color on the pasteboard become "Farbe"; international numbers (+41 79 123 45 67, 0041 …) and national numbers with a leading zero and separators (079 123 45 67, 030/123456) become "Telefonnummer". Both have their own icon and can be filtered by type. Plain digit runs, dates, versions, hashes and commit IDs keep their type, and secrets still win. No database migration is needed; copies stored earlier keep their type.
  • Return in the palette pastes the entry into the app that was in front when the palette opened: the palette closes, that app gets the focus back and receives ⌘V. The paste is not captured as a new copy. This needs the Accessibility permission; without it, or when no other app was in front, the entry is only copied and a short note says so. The menu item "Zwischenablage nach dem Einfügen wiederherstellen" (off by default) puts the previous clipboard content back after the paste, unless something else was copied in the meantime. Conceale...
Read more

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 23:21

Added

  • Shell, SQL and YAML snippets are collected automatically from your copies, with secrets replaced by placeholders before anything is stored. Copies that capture skips (pause, ignored or password manager apps, ignore rules, Clipkeep's own copies) are never collected, and "Snippets automatisch erfassen" in the menu switches collection off.
  • The palette searches snippets too: Control+Option+S opens it in snippet mode, Tab switches between history and snippets, Return copies the snippet and Command+Delete removes it so it is not collected again.
  • "Als Snippet speichern" in the history window stores the selected entry as a snippet, anonymised, even when automatic collection would skip it; Clipkeep asks for Shell, SQL or YAML when it cannot tell. "Snippets aus Verlauf übernehmen …" in the menu seeds the collection once from the existing history, imported entries included, using the same anonymiser and filter as automatic collection (ignore rules added after an entry was recorded are not applied again); parked secrets are never read, deleted snippets stay deleted and running it again adds nothing twice.
  • "Snippet-Explorer öffnen …" in the menu opens a window with every snippet. It filters by language, topic (the program of a shell command, the first SQL table, the kind or first key of a YAML document, read from the text) and search text, sorts by any column including last use and how often a snippet was captured, shows the full text and copies or deletes the selected snippet. "Snippet-Suche öffnen" opens the snippet palette from the menu, and the menu says when its shortcut ⌃⌥S is taken by another app.
  • The Clipkeep logo: the app icon in Finder, Launchpad, dialogs and notifications, the menu bar icon (dimmed while capture is paused) and the README header.

Fixed

  • Transferring parked secrets to Bitwarden no longer asks for the Keychain password every few seconds. All parked secrets now live in one Keychain item, so macOS asks at most once and "Always Allow" covers every secret. Secrets parked by earlier versions are moved over on first use, which can ask once more for items an older build created.
  • While unlocking or transferring, a small panel with a spinner appears at the top of the screen the pointer is on, the menu bar item shows the same state and the Bitwarden actions are disabled, so it is clear that something is in progress.

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 02 Nov 12:25
a60e907

Added

  • A GitHub Actions workflow publishes a release when a version tag lands on main: it builds and signs the archive, creates the GitHub release and opens the cask pull request in the tap.

Fixed

  • Commands that hang, such as a stuck bw, now time out on schedule even when the app is busy with other work.

v0.1.0

Choose a tag to compare

@JtheGunner JtheGunner released this 02 Nov 09:26
02cdf86

Added

  • Menu-bar app with a launch-at-login toggle.
  • Encrypted SQLCipher database with schema and migrations; the key lives in the Keychain.
  • Clipboard capture with normalisation, content filters, window title and browser address as context.
  • Pause and ignore rules for capture.
  • Secret detection (token formats, key/value hints, entropy); detected secrets are parked in the Keychain and replaced by a placeholder, with optional transfer to Bitwarden through the bw CLI and a "not a secret" undo.
  • Content classifier with entity extraction, and normalised and near-duplicate detection.
  • Trigram full-text search with filters.
  • Explainable importance score, tiers and opt-in retention; pin, star and undoable delete.
  • Sessions grouped by pause, app and context, and topics clustered with TF-IDF and structural signals.
  • Global hotkey with a floating search palette, and a history window with day, session and topic views.
  • Markdown export of a session, a day or a topic.
  • Import of collected text files with preview, secret handling and duplicate detection.
  • Background maintenance jobs for sessions, topics and ranking.
  • Evaluation harness with a synthetic gold set (./scripts/eval.sh).
  • "Import löschen …" in the menu deletes the entries of one imported file at once, keeps entries that existed before and offers an undo right after.
  • Release script with optional Developer ID signing and notarisation (./scripts/release.sh).
  • One-click installation of the Bitwarden CLI through Homebrew from the Bitwarden menu, offered only when Homebrew is available.
  • Installation without an Apple Developer ID: download with right click → "Open", or brew install --cask JtheGunner/tap/clipkeep. ./scripts/release.sh now also writes a SHA-256 checksum next to the zip.

Changed

  • bundle-app.sh signs with a local self-signed certificate when one exists (./scripts/create-signing-identity.sh), so rebuilds keep the Keychain approval and the privacy grants. Without it the bundle stays ad-hoc signed.

  • Safari tab addresses are read by default; SSH targets are kept out of e-mail detection.

  • The clipboard is polled every 250 ms.

Fixed

  • Near-duplicate detection no longer slows down quadratically on many almost identical texts, and CJK text gets a usable fingerprint.
  • The menu shows a hint when macOS restricts clipboard reading.
  • The import preview warns when secrets take large blocks of text with them.
  • The Markdown export runs in the background, and the import reports secrets that could not be parked instead of counting them as saved.
  • Imported text files are dated by their structure: entries under a date heading (2024-03-05, 5.3.2024, 5. März 2024, March 5, 2024) get that day, and a file without headings gets one session per block. The preview says which applies.
  • The history window can rename, merge and move topics, fetch a parked secret from Bitwarden (copied as concealed and cleared after 60 s) and undo "not a secret".
  • An open history window now picks up new copies and changed entries (for example after "Kein Secret" in a notification) and keeps selection and scroll position.
  • The "Ignorieren" menu lists ignored apps by name instead of bundle identifier; an app that is not installed still shows its identifier.