Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NyarchLinux/DesktopPuppet
/ functions
Functions
141 in github.com/NyarchLinux/DesktopPuppet
⨍
Functions
141
◇
Types & classes
17
↓ 18 callers
Method
_show_status
Show status message.
src/gui_controller.py:688
↓ 3 callers
Method
is_running
Check if puppet process is running.
src/gui_controller.py:228
↓ 2 callers
Method
__init__
(self)
src/gui_controller.py:109
↓ 2 callers
Method
_load_motion_group
Load motions for a specific group.
src/gui_controller.py:642
↓ 2 callers
Method
_stop_puppet
Stop the puppet.
src/gui_controller.py:524
↓ 2 callers
Method
get_log_path
Get the path to the puppet log file.
src/gui_controller.py:232
↓ 2 callers
Method
get_motions_groups
(self)
src/puppets/live2d.py:112
↓ 2 callers
Method
set_motion
Set a motion on the puppet.
src/gui_controller.py:66
↓ 2 callers
Method
set_mouth
(self, value)
puppet_extension.py:269
↓ 2 callers
Method
set_overlay
(self, overlay : str)
puppet_extension.py:240
↓ 2 callers
Method
stop_puppet
Stop the puppet process.
src/gui_controller.py:196
↓ 1 callers
Method
_get_relative_coords
(self, x:int, y:int)
src/wminterfaces/hyprlandinterface.py:29
↓ 1 callers
Method
_get_relative_coords
(self, x:int, y:int)
src/wminterfaces/gnomeinterface.py:34
↓ 1 callers
Method
_get_relative_coords
(self, x:int, y:int)
src/wminterfaces/kdeinterface.py:27
↓ 1 callers
Method
_launch_puppet
Launch the puppet.
src/gui_controller.py:461
↓ 1 callers
Method
_load_expressions
Load expressions from puppet.
src/gui_controller.py:620
↓ 1 callers
Method
_load_models
Load available models.
src/gui_controller.py:422
↓ 1 callers
Method
_load_motions
Load motions from puppet.
src/gui_controller.py:627
↓ 1 callers
Method
_setup_ui
Setup the user interface.
src/gui_controller.py:263
↓ 1 callers
Method
_start_monitor
Start monitoring thread for puppet connection.
src/gui_controller.py:544
↓ 1 callers
Method
change_overlay_type
(self, overlay_type: str)
src/interaction_server.py:36
↓ 1 callers
Method
do_motion
(self, motion: str)
src/model_manager.py:23
↓ 1 callers
Method
ensure_viewer_installed
Ensure the Live2D viewer is installed.
src/gui_controller.py:139
↓ 1 callers
Method
flush_log
Flush the log file to ensure all output is written.
src/gui_controller.py:237
↓ 1 callers
Method
get_active_monitor_resolution
Get the resolution of the monitor on which the puppet is displayed Returns: tuple [int, int]: (width, height)
src/wminterfaces/wminterface.py:13
↓ 1 callers
Method
get_available_models
(self)
puppet_extension.py:43
↓ 1 callers
Method
get_available_models
Get list of available models from the models directory.
src/gui_controller.py:125
↓ 1 callers
Method
get_cursor_position
Get cursor position relative to the puppet Returns: tuple [int, int]: (x, y)
src/wminterfaces/wminterface.py:5
↓ 1 callers
Method
get_expressions
Get available expressions from the puppet.
src/gui_controller.py:35
↓ 1 callers
Method
get_expressions
(self)
src/model_manager.py:26
↓ 1 callers
Method
get_gtk_widget
(self)
src/model_manager.py:9
↓ 1 callers
Method
get_monitor_dimensions
(self)
src/model_manager.py:38
↓ 1 callers
Method
get_motion_file
(self, motion: str)
src/puppets/live2d.py:135
↓ 1 callers
Method
get_motions
Get available motions from the puppet.
src/gui_controller.py:57
↓ 1 callers
Method
get_motions
(self)
src/model_manager.py:20
↓ 1 callers
Method
get_updated_area
(self)
src/model_manager.py:12
↓ 1 callers
Function
get_wm_interface
()
src/wminterfaces/__init__.py:7
↓ 1 callers
Method
is_connected
Check if the puppet API is reachable.
src/gui_controller.py:25
↓ 1 callers
Method
load_webview
(self)
src/puppets/live2d.py:29
↓ 1 callers
Method
look
Look in the direction given Args: x (): x coordinate on the monitor y (): y coordinate on the monitor
src/puppets/puppet.py:22
↓ 1 callers
Function
main
Main entry point.
src/gui_controller.py:719
↓ 1 callers
Method
set_change_func
(self, changefunc, window)
src/interaction_server.py:40
↓ 1 callers
Method
set_expression
Set an expression on the puppet.
src/gui_controller.py:44
↓ 1 callers
Method
set_expression
(self, expression: str)
src/model_manager.py:29
↓ 1 callers
Method
set_mouth_amplitude
(self, amplitude: float)
src/model_manager.py:32
↓ 1 callers
Method
set_overlay
Set the overlay type.
src/gui_controller.py:92
↓ 1 callers
Method
set_settings
Update puppet settings.
src/gui_controller.py:79
↓ 1 callers
Method
set_settings
(self, settings: dict)
src/model_manager.py:35
↓ 1 callers
Method
start_desktop_puppet_process
(self)
puppet_extension.py:146
↓ 1 callers
Function
start_interaction_api
Starts the HTTP API on a separate thread. Returns: httpd: The HTTPServer instance. server_thread: The thread running the ser
src/interaction_handler.py:125
↓ 1 callers
Method
start_interaction_server
(self, address:str="localhost")
src/interaction_server.py:30
↓ 1 callers
Method
start_puppet
Start the puppet main process.
src/gui_controller.py:169
↓ 1 callers
Method
start_viewer_webserver
Start the viewer webserver.
src/gui_controller.py:146
↓ 1 callers
Function
stop_interaction_api
Stops the HTTP server.
src/interaction_handler.py:143
↓ 1 callers
Method
update_area
Update the model area, update using the model dimensions properties
src/puppets/puppet.py:31
↓ 1 callers
Method
update_cursor_position
(self)
src/model_manager.py:16
Method
__init__
(self, settings, path: str)
puppet_extension.py:33
Method
__init__
(self, model_manager: ModelManager, window)
src/interaction_server.py:6
Method
__init__
(self, host="localhost", port=42943)
src/gui_controller.py:21
Method
__init__
(self, app)
src/gui_controller.py:249
Method
__init__
(self)
src/gui_controller.py:707
Method
__init__
(self, puppet: DesktopPuppet, wm_interface: WMInterface)
src/model_manager.py:5
Method
__init__
(self)
src/puppets/live2d.py:11
Method
__init__
(self)
src/puppets/puppet.py:4
Method
__init__
(self)
src/wminterfaces/hyprlandinterface.py:6
Method
__init__
(self)
src/wminterfaces/gnomeinterface.py:7
Method
__init__
(self)
src/wminterfaces/kdeinterface.py:7
Method
__init__
(self)
src/wminterfaces/wminterface.py:2
Method
__start_webserver
(self)
puppet_extension.py:152
Method
_load_expressions_and_motions
Load expressions and motions from puppet.
src/gui_controller.py:591
Method
_on_browse_folder
Handle folder browse button.
src/gui_controller.py:431
Method
_on_connected
Handle successful connection to puppet.
src/gui_controller.py:569
Method
_on_expression_selected
Apply selected expression.
src/gui_controller.py:655
Method
_on_launch_clicked
Handle launch button click.
src/gui_controller.py:454
Method
_on_motion_group_selected
Handle motion group selection change.
src/gui_controller.py:649
Method
_on_motion_selected
Play selected motion.
src/gui_controller.py:665
Method
_on_overlay_selected
Apply overlay type.
src/gui_controller.py:678
Method
_on_process_died
Handle puppet process death.
src/gui_controller.py:597
Method
_start_animation
(self, amplitudes: list[float], frame_rate=10)
puppet_extension.py:260
Method
change_address
(self)
src/puppets/live2d.py:49
Function
changefunc
(overlay_type, window)
src/main.py:21
Method
close_request
Handle window close request.
src/gui_controller.py:697
Method
create_gtk_widget
(self)
puppet_extension.py:187
Method
destroy
(self, add=None)
puppet_extension.py:206
Method
do_GET
(self)
src/interaction_handler.py:7
Method
do_POST
(self)
src/interaction_handler.py:30
Method
do_activate
Activate the application.
src/gui_controller.py:713
Method
do_motion
(self, motion : str)
puppet_extension.py:237
Method
do_motion
(self, motion : str)
src/puppets/live2d.py:149
Method
do_motion
Set the motion Args: motion: The motion to set
src/puppets/puppet.py:59
Method
get_active_monitor_resolution
(self)
src/wminterfaces/hyprlandinterface.py:18
Method
get_active_monitor_resolution
(self)
src/wminterfaces/gnomeinterface.py:31
Method
get_active_monitor_resolution
(self)
src/wminterfaces/kdeinterface.py:24
Method
get_avatar_handlers
(self)
puppet_extension.py:21
Method
get_cursor_position
(self)
src/wminterfaces/hyprlandinterface.py:11
Method
get_cursor_position
(self)
src/wminterfaces/gnomeinterface.py:12
Method
get_cursor_position
(self)
src/wminterfaces/kdeinterface.py:12
Method
get_expressions
(self)
puppet_extension.py:212
Method
get_expressions
(self)
src/interaction_server.py:12
Method
get_expressions
(self)
src/puppets/live2d.py:94
next →
1–100 of 141, ranked by callers