5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 16:02:07 +08:00
wails/website/i18n/ar/docusaurus-plugin-content-docs/current/community/showcase/snippetexpander.mdx
github-actions[bot] a4428022ec
docs: sync translations (#3543)
* docs: sync translations

* Fix build

---------

Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-06-22 14:07:04 +10:00

28 lines
1.6 KiB
Plaintext

# Snippet Expander
```mdx-code-block
<p style={{ "text-align": "center" }}>
<img src={require("@site/static/img/showcase/snippetexpandergui-select-snippet.png").default} />
<br />
Screenshot of Snippet Expander's Select Snippet window
</p>
<p style={{ "text-align": "center" }}>
<img src={require("@site/static/img/showcase/snippetexpandergui-add-snippet.png").default} />
<br />
Screenshot of Snippet Expander's Add Snippet screen
</p>
<p style={{ "text-align": "center" }}>
<img src={require("@site/static/img/showcase/snippetexpandergui-search-and-paste.png").default} />
<br />
Screenshot of Snippet Expander's Search & Paste window
</p>
```
[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.