Hi! My name is Wiktor and I have built a project that I'd like to share. It's a snippets manager, but with many additional features that make it nicer and easier to use. It's a native macOS app built with SwiftUI and AppKit.

It obviously has features like groups and tags for organising snippets, but some of the features that are special for CodeMenu are:

- side window
It's an expandable window accessible by a gesture or a keyboard shortcut with a list of snippets and filters. Snippets can be dragged and dropped to an editor or copied by long-pressing. They can also be edited. Snippets with placeholders can be either one-time filled while copying or pre-filled by using a special button, which will fill the placeholders to allow for continuous usage of a snippet which will have the same values.

- placeholders
Snippets can contain placeholders that you the developer can fill in when using them. There are basic placeholders (something that will be replaced by user-provided value) and special placeholders (date and time placeholders, they will be automatically replaced with the date and time respectively when used; shell placeholder, which is replaced with the output of a shell command when used).

- optional Suggestions app
It connects to CodeMenu and allows the developer to access all snippets by typing directly in an editor either by searching or using abbreviations, which are set in CodeMenu. It is open source and available on Extiri's (my "brand") GitHub page. In future it may support other sources.

- Snippets Store
It's an online service accessible either using a web app or CodeMenu. Developers can share their snippets there. It's server is also open source and accessible on the same page. It's written in Swift using Vapor framework. It also has an API with docs at docs.extiri.com.

- AI
Snippets can be searched using natural language. There are also options to generate title and description automatically, but they require a local Mistral 7b model, which can be downloaded using Settings. There is also a tab in side window to allow quicker access to ChatGPT, Claude and the local model.

- Code running and preview
HTML snippets can be directly live-previewed in CodeMenu. Code in other languages can also be run, by adding their CLI tool in settings. JavaScript is available by default.

- Automations and HTTP server
Automations are user-made JavaScript scripts that can be run in context of a snippet. These scripts can modify snippets. There is also an HTTP server (off by default; built using Vapor) which allows external tools to access snippets easier (that's how Suggestions work). I'm working on documentation. Both features allow for extending CodeMenu's capabilities.

- Utilities
CodeMenu has built-in tools that can be useful for programmers, like code image generator, generator of mockup data (uuids, emails, lorem ipsum, etc), converter of number systems, RegEx tester with built-in help view, editor which can run and preview code (useful for quickly checking code).

- Library generation
When you drag and drop a box button next to a snippet title, tag, group or language, CodeMenu will create a file and prepare it for usage in an app like a library. The library can contain one or more snippets. Currently Swift, PHP and JavaScript are supported.

There are other other things, like LaTeX in description, flow diagrams using Mermaid.js, prettifying (JavaScript (including some frameworks), HTML, Markdown and YAML, achieved using prettier JavaScript library), adding snippets using Services in context menu and GitHub Gists.

It's available on Mac App Store and requires a monthly subscription, but there is a free 7-day trial. I'd love to hear your feedback on it and what you think can be improved or added. For the last year CodeMenu was in beta and the feedback from testers helped me fix bugs and add some of the features.