You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
[core]
secure = false# Whether to use https or notsecret = 'supersecretpassphrase'# The secret used to sign cookiehost = '0.0.0.0'# The host Void should run onport = 3000# The port Void should run ondatabase_url = 'postgres://username:password@localhost:5432/db_name'# PostgreSQL database url
[bot]
enabled = false# Whether to enable the bot or notprefix = '&'# Bot's prefixtoken = ''# Bot's tokenadmin = [''] # Admin idslog_channel = ''# The channel where logs are sent, leave blank to disable loggingdefault_uid = 1# The default user id used to shorten and uploadhostname = 'example.com'# The hostname shortened urls should use in Twilight
[shortener]
allow_vanity = true# Whether to allow vanity urls or notlength = 6# Slug lengthroute = '/go'# Route to serve shortened urls
[uploader]
raw_route = '/r'# Route to serve raw contentslength = 6# Slug lengthdirectory = './uploads'# The directory where images are storedblacklisted = ['exe'] # Blacklisted extensions
Features
Configurable
Fast and reliable
Elegant Web UI
Built with Next.js & React
Token-protected uploading
Easy to setup
Invisible URL
Emoji URL
Text previewing (with syntax highlighting)
Video embed
URL shortener
Discord bot
Docker support
Password-protected URL
Embed customization (with variables)
Contribution
All pull requests must be made in dev branch, pull requests in v0 will be closed.
Bot permissions
These permissions are required for the bot to work properly (27712):