remote

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 31 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package remote serves wassup's MCP over HTTP with a built-in OAuth 2.1 authorization server, so claude.ai (web, Desktop, mobile), Claude Code and other remote MCP clients can connect to a user's own wassup. Each user runs their own instance; nothing is shared between users.

Sign-in proves you own the WhatsApp account: the consent page sends a one-time code to your "Message yourself" chat (also visible with `wassup remote codes` on the machine).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCurrent

func SetCurrent(s *Server)

SetCurrent records the running server so CLI methods can report on it.

Types

type RevokeParams

type RevokeParams struct {
	Client string `json:"client" jsonschema:"Client ID from wassup remote connections, or 'all'"`
}

type Server

type Server struct {
	E   *engine.Engine
	Log zerolog.Logger
	// contains filtered or unexported fields
}

func Start

func Start(e *engine.Engine, log zerolog.Logger) (*Server, error)

Start serves on cfg.Listen until Close. It never fails the daemon: problems are logged.

func (*Server) Addr

func (s *Server) Addr() string

Addr is the local listen address.

func (*Server) Close

func (s *Server) Close()

func (*Server) PendingCodes

func (s *Server) PendingCodes() []map[string]any

PendingCodes lists sign-ins waiting for a code, for `wassup remote codes`.

func (*Server) PublicURL

func (s *Server) PublicURL() string

PublicURL is the configured or tunnel-provided https origin ("" until known).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL