Skip to content

Tiny app to create and use text snippets - all in one application with sqlite built in

netean/Snippets-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippet Manager

A very simple, very basic, KDE desktop application for storing and managing text snippets, code snippets, and short phrases with full Unicode support.

I couldn't find anything that suited my needs: just a dead simple, very basic string snippets tools. So I built one.. actually Claude Sonnet did most of the coding, I just "supervised"

Features

  • Add, Edit, Delete: Full CRUD operations for text snippets
  • Search: Real-time search through titles and content
  • Unicode Support: Store and display any Unicode characters
  • Copy to Clipboard: Easy copying of snippets to other applications
  • SQLite Backend: Self-contained database storage
  • Native KDE Integration: Built with Qt and KDE Frameworks

Building

Prerequisites

  • CMake 3.16+
  • Qt6 (Core, Widgets, Sql)
  • KDE Frameworks 6 (CoreAddons, I18n, XmlGui, ConfigWidgets)
  • C++17 compiler

Ubuntu/Debian

sudo apt install cmake build-essential qt6-base-dev qt6-sql-sqlite \
    libkf6coreaddons-dev libkf6i18n-dev libkf6xmlgui-dev libkf6configwidgets-dev

Build Steps

mkdir build
cmake -S ./ -B ./build
cd build && make

### Run
```bash
./snippetmanager

Or just download the binary release from the releases page.

Usage

  1. Adding Snippets: Click "Add" to create a new snippet
  2. Editing: Select a snippet from the list and edit in the right panel
  3. Searching: Type in the search box to filter snippets
  4. Copying: Select a snippet and click "Copy" to copy content to clipboard
  5. Deleting: Select a snippet and click "Delete" (with confirmation)

Data Storage

Snippets are stored in a SQLite database located at: ~/.local/share/SnippetManager/snippets.db

The application is completely self-contained and portable.

About

Tiny app to create and use text snippets - all in one application with sqlite built in

Resources

Stars

Watchers

Forks

Packages

No packages published