Repository navigation
File Uploads
Woggle supports file uploads via the soju.im/filehost IRC extension. When a file is uploaded, the resulting URL is inserted into the message input.
Uploads can be triggered by:
- Using the + button in the buffer
- Dragging and dropping a file into the window (if enabled with
filehost.file_drop) - Pasting a file into the window
- The
/uploadcommand
Note
Filehost requires your server to advertise support for it according to the spec. Alternatively, servers.<server>.filehost.override_url can be set to override with any filehost.
A server can set an ISUPPORT token to provide a filehost.
Ergo supports filehost natively via additional-isupport. Add the following to your ircd.yaml:
server:
additional-isupport:
"soju.im/FILEHOST": "https://your-filehost-url/upload"soju supports filehost via its own soju.im/FILEHOST token. Configure filehost in your soju configuration.
soju will advertise the configured URL to clients via soju.im/FILEHOST. For networks provided by bouncer, Woggle will use the bouncer's filehost.
ircv3-filehost-server can be used to complement an IRCd/bouncer, providing filehost functionality that the IRCd/bouncer can then advertise to clients.
convoyeur can act as a proxy to external file upload services.
If your server does not allow advertising a filehost token, or you do not control the IRC server, you can configure a URL manually via filehost.override_url.
filehost.credentials controls whether and what Woggle sends credentials with upload requests. It defaults to "server", which sends the SASL credentials used to connect to the server (if they have been specified).
-
SASL PLAIN — sends an
Authorizationheader with serverusername:password - SASL EXTERNAL — presents the client certificate
[servers.<name>]
server = "irc.example.com"
nickname = "you"
# credentials that will be sent to filehost
[servers.<name>.sasl.plain]
username = "you"
password = "hunter2"
# alternatively, disable sending credentials when uploading
[servers.<name>.filehost]
credentials = "none"- Drag and drop is not supported on Wayland.
- Drag and drop only works in the focused buffer.
- When connecting through soju, downstream server filehosts are not passed through to child networks. Soju does not support forwarding
FILEHOSTISUPPORT tokens from downstream servers (see soju#374). You can setfilehost.override_urlto work around this.
- Servers — filehost — per-server filehost configuration
- File Upload — global filehost settings
Woggle: moderation IRC client for ScoutLink chanops, based on Halloy · Not an official ScoutLink product (logo usage) · Found a mistake? Open an issue or edit the page.
English · Norsk · Dansk · Svenska
Woggle
Getting started
Configuration
- Inclusion/Exclusion Conditions
- Actions
- Buffer
- Channel Monitor
- Check for Update on Launch
- Commands
- Config Editor
- Context Menu
- CTCP
- Display
- File Transfer
- File Upload
- Font
- Highlights
- Keyboard
- Logs
- Metadata
- Notifications
- Pane
- Platform Specific
- Preview
- Proxy
- Runtime
- Scale factor
- Servers
- Sidebar
- Themes
- Tooltips
- Window
Guides
- Building for Flatpak
- Building for macOS
- Connect with soju
- Connect with ZNC
- TLS Troubleshooting
- Command Line
- Custom Themes
- Exec Command
- Example Server Configurations
- Monitor Users
- Multiple Servers
- Optional Features
- Portable Mode
- Pronunciation
- Reduce Noise
- Single Pane
- Storing Passwords in a File
- Storing Passwords in the System Keyring
- File Uploads
- Internal Buffers
- Unix Signals
- Text Formatting
- URL Schemes
- Flatpak Tips