diff --git a/website/docs/community/showcase/snippetexpander.mdx b/website/docs/community/showcase/snippetexpander.mdx new file mode 100644 index 00000000..1f9fb615 --- /dev/null +++ b/website/docs/community/showcase/snippetexpander.mdx @@ -0,0 +1,27 @@ +# Snippet Expander + +```mdx-code-block +

+ +
+ Screenshot of Snippet Expander's Select Snippet window +

+

+ +
+ Screenshot of Snippet Expander's Add Snippet screen +

+

+ +
+ Screenshot of Snippet Expander's Search & Paste window +

+``` + +[Snippet Expander](https://snippetexpander.org) is "Your little expandable text snippets helper", for Linux. + +Snippet Expander comprises of a GUI application built with Wails for managing snippets and settings, with a Search & Paste window mode for quickly selecting and pasting a snippet. + +The Wails based GUI, go-lang CLI and vala-lang auto expander daemon all communicate with a go-lang daemon via D-Bus. The daemon does the majority of the work, managing the database of snippets and common settings, and providing services for expanding and pasting snippets etc. + +Check out the [source code](https://git.sr.ht/~ianmjones/snippetexpander/tree/trunk/item/cmd/snippetexpandergui/app.go#L38) to see how the Wails app sends messages from the UI to the backend that are then sent to the daemon, and subscribes to a D-Bus event to monitor changes to snippets via another instance of the app or CLI and show them instantly in the UI via a Wails event. diff --git a/website/static/img/showcase/snippetexpandergui-add-snippet.png b/website/static/img/showcase/snippetexpandergui-add-snippet.png new file mode 100644 index 00000000..2a88cb75 Binary files /dev/null and b/website/static/img/showcase/snippetexpandergui-add-snippet.png differ diff --git a/website/static/img/showcase/snippetexpandergui-search-and-paste.png b/website/static/img/showcase/snippetexpandergui-search-and-paste.png new file mode 100644 index 00000000..e197805f Binary files /dev/null and b/website/static/img/showcase/snippetexpandergui-search-and-paste.png differ diff --git a/website/static/img/showcase/snippetexpandergui-select-snippet.png b/website/static/img/showcase/snippetexpandergui-select-snippet.png new file mode 100644 index 00000000..c29a04b1 Binary files /dev/null and b/website/static/img/showcase/snippetexpandergui-select-snippet.png differ