Integrations¶
API tokens¶
Create a token under Tools → Tokens with the scopes needed by each integration. Copy it when it is first displayed; Surls cannot show the token again. You can revoke or replace tokens from the same page. Keep each token out of logs and screenshots.
WordPress link creator¶
The included Surls Link Creator plugin creates links from WordPress. It requires WordPress 6.0+, PHP 7.4+, a reachable Surls HTTPS origin, and a token allowed to create links.
- Copy
wordpress/surls-link-creatorfrom the Surls repository intowp-content/plugins/and activate it. - Create a dedicated Surls token from Tools → Tokens.
- In WordPress, open Settings → Surls and save the HTTPS Surls base URL and token.
- Use Test saved connection to check reachability and permission without making a link. This test needs Surls 3.0.0 or later.
The plugin offers a quick-link form and a post editor meta box for public post types. It stores generated short links in post metadata. See the plugin README for the API contract and token notes.
macOS sharing¶
The separate Surls Share app can upload one shared file and copy its short link. Its current CI builds are unsigned; follow the local development-signing instructions before use.