MCPcopy Index your code
hub / github.com/Keruspe/GPaste

github.com/Keruspe/GPaste @v50.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v50.5 ↗ · + Follow
1,056 symbols 1,943 edges 167 files 309 documented · 29% updated 10d ago★ 91336 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Coverity Scan Build Status

GPaste is a clipboard management system. See https://www.imagination-land.org/posts/2012-12-01-gpaste-released.html for more information about what clipboard managers are.

Translators can use weblate to contribute.

A library is available for development purposes:

  • libgpaste contains all the basic objects used by GPaste and allows you to manage preferences and the GPaste daemon.

A default daemon named gpaste-daemon is provided, with seven keybindings:

  • show history
  • pop the item from the history
  • sync primary selection with clipboard
  • sync clipboard with primary selection
  • mark the active item as being a password
  • upload the active item to a pastebin service (using wgetpaste)
  • launch the graphical tool

A simple CLI interface is provided: gpaste-client, with a subcommands: gpaste-client ui which makes the graphical tool pop.

A native gnome-shell extension is provided.

/!\ Don't forget to run gpaste-client dr aka gpaste-client daemon-reexec after upgrading GPaste to activate new functionalities ;)

You can then run gpaste-client daemon-version to check the correct daemon is now running.

You can see everything I'll post about GPaste there.

Latest release for GNOME 50 is: GPaste 50.5.

Direct link to download: https://www.imagination-land.org/files/gpaste/GPaste-50.5.tar.xz

Installation

dnf on Fedora

sudo dnf install gpaste-ui gpaste

Building from Source

# Install build dependencies
# Fedora 42
$ sudo dnf install meson ninja-build glib2-devel cmake libgdk* gcr libadwaita-devel gjs-devel

# General build instructions
$ git clone git@github.com:Keruspe/GPaste.git
$ cd GPaste
$ mkdir builddir
$ cd builddir
$ meson ..
$ ninja
$ sudo ninja install
$ sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

Core symbols most depended-on inside this repo

g_paste_item_get_uuid
called by 15
src/daemon/gpaste-item.c
g_paste_daemon_get_dbus_string_parameter
called by 14
src/daemon/gpaste-daemon.c
g_paste_item_get_value
called by 12
src/daemon/gpaste-item.c
g_paste_item_get_size
called by 12
src/daemon/gpaste-item.c
g_paste_gtk_preferences_group_add_boolean_setting
called by 12
src/libgpaste/gpaste-gtk4/gpaste-gtk-preferences-group.c
g_paste_gtk_preferences_group_new
called by 11
src/libgpaste/gpaste-gtk4/gpaste-gtk-preferences-group.c
_g_paste_clipboard_private_target_name
called by 9
src/daemon/gpaste-clipboard.c
g_paste_clipboard_update_maybe_done
called by 9
src/daemon/gpaste-clipboard.c

Shape

Function 877
Class 98
Method 81

Languages

C88%
TypeScript11%
C++1%

Modules by API surface

src/libgpaste/gpaste/gpaste-client.c106 symbols
src/daemon/gpaste-daemon.c63 symbols
src/daemon/gpaste-history.c61 symbols
src/daemon/gpaste-clipboard.c45 symbols
src/client/gpaste-client.c42 symbols
src/gnome-shell/indicator.js32 symbols
src/libgpaste/gpaste/gpaste-util.c26 symbols
src/ui/gpaste-ui-panel.c24 symbols
src/libgpaste/gpaste/gpaste-gnome-shell-client.c24 symbols
src/daemon/gpaste-item.c23 symbols
src/libgpaste/gpaste-gtk4/gpaste-gtk-global-shortcut-client.c22 symbols
src/ui/gpaste-ui-history.c20 symbols

For agents

$ claude mcp add GPaste \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page