RevoGram documentation
Set up your community, configure paid features and connect your own clients. Member guides cover everyday tasks, from sharing a Motion Photo to publishing a video series.
Download the complete docs ZIP ↓
Offline copy · Guides, search, fonts and design are loaded from this folder.
How RevoGram fits together
A self-hosted Laravel and React social network, with optional services you can enable as your community grows.
| Layer | Purpose |
|---|---|
| Web interface | React and Inertia provide the member website, messaging workspace, creator tools and administration. |
| Application | Laravel manages users, permissions, publishing, wallets, providers and background tasks. |
| Database and storage | Your database stores application records. Local or configured cloud storage holds media and derivatives. |
| Optional services | Redis and Reverb deliver real-time functionality; LiveKit powers configured calls and broadcasts; external providers supply payments, AI and media discovery. |
Start with the server requirements and installation steps. Configure the scheduler, storage permissions and HTTPS before inviting members. Enable optional integrations after their service accounts, workers and connection settings are ready.
Find a guide by module
Choose a module to read its feature description, or jump straight to the guide for members and administrators.
Server requirements
Prepare a PHP application server, a database, and compiled frontend assets. Add Redis and LiveKit only when enabling the features that need them.
| Component | Requirement / purpose |
|---|---|
| PHP | Use PHP 8.4.1 or later with the bundled locked dependencies. Use the same supported PHP version for PHP-FPM, Composer, scheduled tasks, and workers. |
| Composer | Composer 2 to install the locked PHP dependencies. |
| Node.js and npm | Use Node.js 24 LTS for frontend rebuilds or the optional server-side rendering process. The release includes compiled browser assets. |
| Database | The example configuration selects MySQL. Provision an empty database and an application-specific database user. The Laravel database configuration also defines MariaDB, SQLite, PostgreSQL, and SQL Server connections; validate the full application on your chosen engine before deployment. |
| Web server | Use Nginx or Apache 2.4 with PHP-FPM and HTTPS. In Production setup, choose the configuration for your document root. Apache uses the supplied .htaccess rules and PHP media delivery. |
| Filesystem | The PHP-FPM/worker account must be able to write storage/ and bootstrap/cache/. Preserve the configured upload root and private media storage. |
| Media processing | GD with WebP support or Imagick enables image derivatives. FFmpeg and FFprobe, executable through PHP’s process support, enable video optimization, thumbnails, and duration inspection. Derivatives are best effort; the original remains usable when a codec is unavailable. |
| Optional Redis | Used by dedicated WebSocket/presence queues, remote link-preview enrichment, and optional performance caching. Performance-cache failures fall back to the existing SQL paths. |
| Optional LiveKit | Required for configured calls and live broadcasts. Ingress, Egress, and recording are additional services for their corresponding live-streaming features. |
cd /path/to/project
php --version
composer check-platform-reqs --no-dev
node --version
npm --versionProject structure
The project separates the PHP application, React theme sources, compiled public files, translations, extensions, and persistent storage.
| Path | What belongs here |
|---|---|
| app/ | Application services, models, policies, controllers, jobs, and console commands. |
| bootstrap/ and config/ | Application bootstrap and configuration. bootstrap/cache/ must be writable by the runtime account. |
| database/migrations/ | Versioned schema changes. DatabaseSeeder intentionally creates no synthetic production content. |
| public/ | The web document root, index.php, static assets, and compiled frontend files. |
| resources/themes/default/ | The default React/TypeScript frontend and its CSS, pages, components, hooks, and manifest. |
| public/build/themes/<theme>/ | Production frontend output. Build every installed theme with npm run build. |
| bootstrap/ssr/themes/<theme>/ | Optional server-rendering bundles, produced by the SSR build. |
| lang/ | Shared application translations. |
| routes/ | Web, API, and console/scheduler route definitions. |
| storage/uploads/ | Default local public-upload destination. The configured local root may override this path. |
| storage/app/private/media/ | Private local originals and derivatives; never expose this directory directly. |
| extensions/ | Extension packages, including the provided example. Keep production extension paths and backups outside files replaced by a core update. |
| deploy/ | Deployment templates for real-time workers, LiveKit, reverse proxies, and extension scheduling. |
| docs/ | Maintained technical notes for modules and integrations. |
| .env.example | A configuration template. Copy it to the private .env file and supply your own values. |
| extension-packages/ | Installable optional Demo mode and Games ZIPs with their source. Install and enable either package from Admin → Extensions. |
Fresh installation
Install the supplied project into an empty deployment directory and database. Configure the environment before applying migrations.
- Extract the project to
/path/to/project. Set the site’s document root topublic/when available. For a fixed project root, apply the matching Nginx or Apache configuration under Production setup before opening the site. - Create an empty database and an application-specific database user. Keep its credentials private.
- Copy .env.example to .env, then edit APP_URL and the DB_* settings for your installation. Do this before running migrations.
- Verify the installed PHP dependencies, generate a unique application key, and apply database migrations.
- Serve the included browser build. If you changed frontend source, rebuild with the locked dependencies. Configure HTTPS and writable paths before opening the site.
- Register your owner account through /register, complete any configured registration confirmation and onboarding, and promote that specific account from the server console as shown below.
- Log in again, visit /admin, configure the site identity, email delivery, enabled modules, storage, and any optional services. Configure the scheduler before launch.
cd /path/to/project
cp .env.example .env
# Edit .env with your own domain and database credentials before continuing.APP_NAME="RevoGram"
APP_ENV=production
APP_DEBUG=false
APP_VERSION=1.2.0
INERTIA_SSR_ENABLED=false
APP_URL=https://YOUR-DOMAIN
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=YOUR_DATABASE
DB_USERNAME=YOUR_DATABASE_USER
DB_PASSWORD=YOUR_DATABASE_PASSWORD
SESSION_DRIVER=database
SESSION_SECURE_COOKIE=true
CACHE_STORE=file
QUEUE_CONNECTION=sync
STORAGE_DRIVER=local
STORAGE_LOCAL_PATH=storage/uploads
# Keep optional services disabled until configured.
REALTIME_ENABLED=false
LIVEKIT_ENABLED=false
PERFORMANCE_CACHE_ENABLED=falsecd /path/to/project
composer check-platform-reqs --no-dev
php artisan key:generate
php artisan migrate --force
php artisan optimize:clearThe release archive includes the locked PHP dependencies and compiled frontend. From a source checkout, run composer install --no-dev --prefer-dist --optimize-autoloader before checking the platform, and run npm ci and npm run build before opening the site.
cd /path/to/project
php artisan tinker$user = App\Models\User::where('email', 'admin@YOUR-DOMAIN')->firstOrFail();
App\Models\User::changeRole($user->id, App\Models\User::ROLE_ADMIN);
exit;Nginx & protected media
Choose the Nginx configuration for your document root, then set how RevoGram delivers authorized local media.
| Site document root | Use this file | Protected local media |
|---|---|---|
Application directory, e.g. /var/www/revogram | nginx.conf inside the existing HTTPS server block | Laravel authorizes the request. Nginx can transfer the file through its internal media locations. |
Public directory, e.g. /var/www/revogram/public | deploy/nginx/revogram.conf as the HTTPS server block | PHP serves the authorized file with MEDIA_NGINX_ACCEL_REDIRECT=false. |
When the application directory is the document root
Include the project’s nginx.conf inside the site’s existing server block. The host supplies HTTPS, the application directory as root, and a PHP-FPM handler for /public/index.php. The include defines its own location / and sets client_max_body_size 512M. Reconcile any existing definitions in the same block.
# Include in a server block whose root is the application directory.
# The host's PHP handler must execute /public/index.php.
# For a public/ document root, use deploy/nginx/revogram.conf instead.
client_max_body_size 512M;
location ^~ /app/ { return 404; }
location ^~ /bootstrap/ { return 404; }
location ^~ /config/ { return 404; }
location ^~ /database/ { return 404; }
location ^~ /deploy/ { return 404; }
location ^~ /node_modules/ { return 404; }
location ^~ /resources/ { return 404; }
location ^~ /routes/ { return 404; }
location ^~ /storage/ { return 404; }
location ^~ /tests/ { return 404; }
location ^~ /vendor/ { return 404; }
location ^~ /_private_media/ {
internal;
rewrite ^/_private_media/(.*)$ /storage/app/private/media/$1 break;
add_header Cache-Control "private, no-store" always;
add_header X-Content-Type-Options "nosniff" always;
}
location ^~ /_legacy_media/ {
internal;
rewrite ^/_legacy_media/(.*)$ /storage/uploads/$1 break;
add_header Cache-Control "private, no-store" always;
add_header X-Content-Type-Options "nosniff" always;
}
location ^~ /uploads/branding/ {
try_files /storage$uri =404;
expires 30d;
access_log off;
add_header Cache-Control "public, max-age=2592000";
add_header X-Content-Type-Options "nosniff";
}
# The application authorizes legacy media before streaming it or issuing an internal redirect.
location ^~ /uploads/ {
rewrite ^ /public/index.php last;
}
location ^~ /build/ {
try_files /public$uri =404;
expires 1y;
access_log off;
add_header Cache-Control "public, max-age=31536000, immutable";
add_header X-Content-Type-Options "nosniff";
}
location ~* ^/assets/.+\.(css|js|map|png|jpe?g|gif|webp|avif|svg|ico|woff2?|ttf|eot)$ {
try_files /public$uri =404;
expires 30d;
access_log off;
add_header Cache-Control "public, max-age=2592000";
add_header X-Content-Type-Options "nosniff";
}
location ~* ^/(artisan|composer\.(json|lock)|package(-lock)?\.json|phpunit\.xml|README\.md|vite\.config\.(js|ts)|\.env|\.env\..*|\.user\.ini)$ {
return 404;
}
location ~ /\.(?!well-known(?:/|$)) {
return 404;
}
location = /index.php {
rewrite ^ /public/index.php last;
}
location = /setupwizard {
rewrite ^ /public/index.php last;
}
location = /setupwizard.php {
rewrite ^ /public/index.php last;
}
location = /public/setupwizard.php {
return 404;
}
location / {
try_files /public$uri /public$uri/ /public/index.php?$query_string;
}
When public/ is the document root
Use the following HTTPS virtual host for a site rooted at public/. Set the domain, certificate paths, document root and PHP-FPM listener to the values for your site. This layout routes /uploads/ through /index.php and returns 404 for internal media paths.
# HTTPS server block for a release served from public/. Set the domain, paths
# and PHP-FPM listener to the values provisioned for this site.
server {
listen 443 ssl;
server_name social.example.com;
root /var/www/revogram/public;
index index.php;
ssl_certificate /etc/letsencrypt/live/social.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/social.example.com/privkey.pem;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /setupwizard.php { rewrite ^ /index.php last; }
location ^~ /uploads/ { rewrite ^ /index.php last; }
location ~ ^/(?:storage|_private_media|_legacy_media|_livekit_recordings|_media_legacy_auth)(?:/|$) { return 404; }
location ~ /\.(?!well-known(?:/|$)) { return 404; }
location = /index.php {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root/index.php;
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
fastcgi_read_timeout 300s;
}
location ~* \.(?:php[0-9]*|phtml|phar)(?:/|$) { return 404; }
}
Set local media delivery in the project’s .env for this public-root template. Clear Laravel’s cached configuration after changing the setting.
MEDIA_NGINX_ACCEL_REDIRECT=falseProxy Reverb and self-hosted LiveKit
Add each proxy you need inside the existing HTTPS server block for the site. These examples work with either document root above. Keep the listening ports private and replace the loopback addresses if the services run on another private host. The LiveKit proxy is only needed when the browser URL points to this site’s /livekit path.
The Reverb example uses $connection_upgrade. If it is not already defined, add this map once inside Nginx’s http block, outside any server block.
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}location ^~ /realtime/app/ {
if ($request_method != GET) { return 405; }
if ($http_upgrade !~* "^websocket$") { return 426; }
proxy_pass http://127.0.0.1:8087/app/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Cookie "";
proxy_set_header Authorization "";
proxy_connect_timeout 5s;
proxy_read_timeout 120s;
proxy_send_timeout 120s;
proxy_buffering off;
proxy_request_buffering off;
proxy_cache off;
add_header Cache-Control "no-store" always;
}
location = /realtime { return 404; }
location ^~ /realtime/ { return 404; }The Reverb route forwards /realtime/app/ to /app/ on port 8087. Laravel publishes directly to the private listener. If you change REALTIME_PATH, update the public locations to match.
location = /livekit {
return 308 /livekit/;
}
location ^~ /livekit/ {
# Allow the browser signaling endpoints and the health check.
if ($uri !~ "^/livekit/(rtc(/|$)|$)") {
return 404;
}
# Browser signaling can put a short-lived token in the query string.
access_log off;
proxy_pass http://127.0.0.1:7880/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
proxy_buffering off;
add_header Cache-Control "no-store" always;
}Keep the trailing slash on the LiveKit proxy_pass target so Nginx strips the /livekit/ prefix before forwarding requests. Define the upgrade map above even if you only enable LiveKit. ICE and TURN traffic use the LiveKit media ports directly.
sudo nginx -t && sudo systemctl reload nginx
# Reverb only. A request without a WebSocket upgrade should return 426.
curl -sS -o /dev/null -w '%{http_code}\n' https://community.example.com/realtime/app/check
# Self-hosted LiveKit only. The signaling upstream should return HTTP 200.
curl -fsS https://community.example.com/livekit/Configure and verify live broadcasting
Validate the site
- Give the runtime account write access to
storage/andbootstrap/cache/. The account transferring local media needs read access to those files. - Match the Nginx request-body limit, PHP’s
upload_max_filesizeandpost_max_size, and the application upload limit. Set the Nginx limit on the public-root host for the upload sizes you support. - Run
nginx -tbefore reloading the site configuration. Check the installer or landing page, a compiled asset, login and playback of a private file using an account with access.
nginx -tApache installation
Install RevoGram on Apache 2.4 with HTTPS and PHP-FPM. The release includes both .htaccess files and a virtual-host example.
- Set the document root to the installation’s
public/directory. Keeppublic/.htaccessin the document root, including its leading dot. - Enable
mod_rewrite,mod_dir,mod_proxy,mod_proxy_fcgi, andmod_ssl. Adapt the domain, certificate paths, and FPM socket indeploy/apache/revogram.conf. Use the host-managed PHP handler when your control panel provides one. - Set
MEDIA_NGINX_ACCEL_REDIRECT=falsein the installation’s .env file. Clear cached configuration and reload Apache after validation succeeds.
# Example HTTPS virtual host for Apache 2.4 and PHP-FPM.
# Set the domain, document root, PHP-FPM socket, and certificate paths.
<VirtualHost *:443>
ServerName social.example.com
DocumentRoot "/var/www/revogram/public"
SSLEngine on
SSLCertificateFile "/etc/letsencrypt/live/social.example.com/fullchain.pem"
SSLCertificateKeyFile "/etc/letsencrypt/live/social.example.com/privkey.pem"
<Directory "/var/www/revogram">
AllowOverride None
Require all denied
</Directory>
<Directory "/var/www/revogram/public">
Options FollowSymLinks
AllowOverride FileInfo Indexes Options=Indexes,MultiViews
Require all granted
<Files "index.php">
SetHandler "proxy:unix:/run/php/php8.4-fpm.sock|fcgi://localhost/"
</Files>
</Directory>
</VirtualHost>
Rewrite rules inside public/
Keep public/.htaccess in the public/ directory in both layouts. It routes legacy uploads and the installer to index.php, forwards the Authorization and X-XSRF-Token headers, and blocks direct access to private storage and other PHP entry points.
Options -Indexes -MultiViews
DirectoryIndex index.php
RewriteEngine On
RewriteRule ^\.well-known/acme-challenge/[A-Za-z0-9_-]+$ - [END]
RewriteRule (^|/)\. - [R=404,END]
RewriteRule ^(?:_private_media|_legacy_media|_livekit_recordings|_media_legacy_auth|storage)(?:/|$) - [R=404,END,NC]
# Keep the legacy installer URL working with an index.php-only PHP handler.
RewriteRule ^setupwizard\.php$ index.php [END]
# Reject other PHP entry points.
RewriteRule ^(?!index\.php$).*\.(?:php[0-9]*|phtml|phar)(?:[./]|$) - [R=404,END,NC]
RewriteCond %{HTTP:Authorization} .
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{HTTP:X-XSRF-Token} .
RewriteRule ^ - [E=HTTP_X_XSRF_TOKEN:%{HTTP:X-XSRF-Token}]
# Legacy uploads must pass the application's current media authorization checks.
RewriteRule ^uploads(?:/|$) index.php [END,NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [END]
# For hosts where the document root cannot be set to the public/ directory.
Options -Indexes -MultiViews
RewriteEngine On
# Permit HTTP-01 certificate validation from the hosting account's web root.
RewriteRule ^\.well-known/acme-challenge/[A-Za-z0-9_-]+$ - [END]
RewriteRule (^|/)\. - [R=404,END]
# Forward all other requests into public/, including existing files outside it.
# Allow public/.htaccess to handle the rewritten request.
RewriteRule ^public(?:/|$) - [L]
RewriteRule ^(.*)$ public/$1 [L,DPI]
APP_URL=https://social.example.com
SESSION_SECURE_COOKIE=true
MEDIA_NGINX_ACCEL_REDIRECT=false
LIVEKIT_RECORDING_INTERNAL_REDIRECT_PREFIX=php artisan optimize:clear
apachectl -tWith PHP media delivery, Laravel authorizes and streams local files. It supports byte ranges for video seeking and continues to use signed URLs for remote storage. Keep upload and private storage paths outside the public directory and readable by PHP-FPM.
Align Apache’s LimitRequestBody, PHP’s upload_max_filesize and post_max_size, and RevoGram’s upload limits. Allow room for multipart request overhead.
Realtime and LiveKit
When these optional services are enabled, add their reverse proxies to the HTTPS virtual host. Use Apache 2.4.47 or later for WebSocket upgrades through mod_proxy_http, and enable mod_headers for the request-header rules. Replace the loopback ports with those configured locally.
ProxyRequests Off
# Laravel Reverb browser connections
ProxyPass "/realtime/app/" "http://127.0.0.1:8087/app/" upgrade=websocket timeout=120
ProxyPassReverse "/realtime/app/" "http://127.0.0.1:8087/app/"
<Location "/realtime/app/">
Require expr "%{REQUEST_METHOD} == 'GET' && tolower(req('Upgrade')) == 'websocket'"
RequestHeader unset Cookie
RequestHeader unset Authorization
</Location>
# LiveKit signaling and optional WHIP ingress
ProxyPass "/livekit/" "http://127.0.0.1:7880/" upgrade=websocket timeout=3600
ProxyPassReverse "/livekit/" "http://127.0.0.1:7880/"
ProxyPass "/livekit-whip/" "http://127.0.0.1:8080/" timeout=3600
ProxyPassReverse "/livekit-whip/" "http://127.0.0.1:8080/"Keep Reverb publishing and the backend listeners on loopback. WebRTC and RTMPS use the media services’ own network settings. For local replay files, set LIVEKIT_RECORDING_LOCAL_PATH and allow PHP-FPM to read that directory.
Scheduler & queue workers
Run scheduled maintenance once per minute and supervise the dedicated workers for the optional services you enable.
The application registers due work in routes/console.php. A cron entry invoking schedule:run every minute lets Laravel run the registered frequencies, including the LiveKit reconciliation task scheduled every thirty seconds. Run it as the same account that owns the application’s runtime files.
* * * * * cd /path/to/project && /path/to/php artisan schedule:run >> /path/to/project/storage/logs/scheduler.log 2>&1| Scheduled command | Frequency / purpose |
|---|---|
| stories:expire | Every minute; marks expired stories. |
| posts:publish-birthdays | Every fifteen minutes; birthday publications. |
| blogs:publish-scheduled | Every minute; releases scheduled blog posts. |
| subscriptions:renew | Hourly; renews due creator subscriptions or expires access. |
| accounts:finalize-deletions | Hourly; permanently processes due account-deletion requests after their grace period. |
| livekit:reconcile | Every thirty seconds; recovers session/recording state when delivery or connections are interrupted. |
| profile-moderation:deliver-notices | Every minute; retries pending required profile moderation notices. |
| feeds:prune | Daily; removes expired personalized-feed history. |
| music:cleanup-uploads | Daily; cleans abandoned temporary music uploads. |
| user-storage:notify | Hourly. Checks enabled quotas and sends eligible usage warnings. |
| license:refresh | Daily. Recheck the saved product license for this installation. |
| auth:prune-native | Daily. Clean up expired native authentication records. |
| Process | When needed |
|---|---|
| Default queue worker | The example uses QUEUE_CONNECTION=sync, so default jobs execute inline. If you select an asynchronous default queue, supervise a worker for that configured connection. |
| WebSocket server | For REALTIME_ENABLED deployments, supervise php artisan reverb:start --host=127.0.0.1 --port=8087 behind the documented reverse proxy. |
| Broadcast worker | Consumes the explicit realtime connection / realtime queue. It is separate from the default queue and media processing. |
| Link-preview worker | Consumes the explicit realtime connection / link-previews queue. Remote message/comment preview enrichment waits if this worker is stopped; the message itself can remain delivered. |
| Presence sweep | The supplied revogram-presence-prune.timer runs realtime:prune-presence once per minute. It is separate from the main scheduler. |
| Extension tasks | Run extension:schedule-run for enabled extensions as documented by the extension system. deploy/extensions/schedule.sh provides a locked runner; adapt its PHP path. |
php artisan queue:work realtime --queue=realtime --sleep=1 --tries=3 --backoff=1,5,15 --timeout=60 --memory=192 --max-time=3600 --no-interaction
php artisan queue:work realtime --queue=link-previews --sleep=1 --tries=2 --backoff=5 --timeout=45 --memory=192 --max-time=3600 --no-interactioncd /path/to/project
php artisan schedule:list
php artisan queue:failedLocal and cloud storage
Choose local storage, Amazon S3, Backblaze B2, Google Cloud Storage or Azure Blob Storage for new uploads.
Open Admin → Settings → Uploads at /admin/settings?section=uploads and find Storage provider. The separate Storage Runtime view reports the active driver and CDN state; provider credentials are configured under Uploads.
| Provider | Configuration |
|---|---|
| Local | A writable local upload root owned by the application worker. |
| Amazon S3 | Bucket, region, optional custom endpoint, access key, secret and optional path-style addressing; supports compatible services. |
| Backblaze B2 | Bucket, S3-compatible region/endpoint, key ID and application key. |
| Google Cloud Storage | Bucket, interoperability endpoint and Google HMAC access key/secret; this adapter uses HMAC interoperability. |
| Azure Blob Storage | Account, account key, container and optional endpoint. |
- Create the bucket/container in the provider account and configure access for the application’s actual media visibility requirements.
- Enter the selected provider’s fields in Uploads. Use the Storage account reference when distinct accounts share the same compatible endpoint and bucket name.
- Save the provider settings and confirm the intended active upload destination. Configure the CDN only when its origin and privacy policy match the media being delivered.
- Upload a small image and video, verify their derivatives, and check playback after a page refresh. Test private content with an unauthorized account.
- Keep older storage accounts and local roots available while existing media still references them.
- Do not assume a failed cloud upload silently succeeds on local storage. Managed music uploads deliberately retain the captured destination and report failures.
- When rotating credentials for an older managed destination, select that exact destination/account reference, save replacement credentials and restore your preferred upload default.
- A CDN-only historical bucket still needs an accessible delivery route after switching the current provider.
Media delivery and location tracking
Preserve correct delivery and cleanup when your installation contains local files and several cloud destinations.
Every original, optimized file, thumbnail and preview can have its own registered storage location. The active upload provider is never guessed as the source of an old file. Read paths batch location lookups instead of probing cloud objects during feed rendering.
| Media kind | Delivery and location behavior |
|---|---|
| Public uploads | The destination is captured before processing; new derivatives use the captured destination. |
| Ordinary private uploads | New files and new private derivatives use local private storage, independent of the public upload default. |
| Existing remote private files | Delivered through authorized, short-lived signed URLs. |
| Managed story music | Each original/artwork file retains its exact immutable configuration; private cloud media requires a private origin and appropriate CDN exclusion. |
| Live recordings, exports and gifts | Retain their dedicated recorded storage locations rather than following a later public-default change. |
php artisan media:backfill-locations --jsonThe audit is read-only. Review unresolved, conflicting and missing entries before choosing to run the same command with --execute. Execution registers proven metadata, upload journals and verified local files; it does not move or delete files or rewrite content references.
- An original’s explicit provider takes priority. A derivative uses its own registered location, then the original’s provider when no per-file evidence exists.
- A legacy path without metadata can resolve locally only when that local file exists. Unknown cloud provenance requires investigation.
- Cleanup compares provider and object key together, preserves shared referenced objects and keeps location evidence when a provider deletion fails.
- Managed private music requires a CDN rule excluding protected/music/. The upload pipeline rejects anonymously exposed private destinations.
- Global upload limits and actual media inspection continue to apply regardless of storage provider. A cloud account does not remove application limits.
Set image resolutions and quality
Choose which WebP copies RevoGram makes for new and edited photos while keeping their full-size originals.
- Open Admin → Settings → Uploads → Image resolutions and quality. Turn on copy generation and enable the profiles you want.
- For each profile, set a distinct name, a maximum side in pixels and a WebP quality. Up to eight profiles are supported, from 64 to 4,096 pixels and quality 20 to 100. Small images retain their size.
- Save the settings, upload a test image and check it in the feed and full viewer. The browser selects a suitable copy for the feed. The viewer can still load the original.
WebSockets and real-time updates
Run Laravel Reverb and its dedicated broadcast worker to deliver messages, presence, notifications and community updates over one authenticated WebSocket connection.
The browser uses a public secure WebSocket endpoint. Laravel authorizes private channels with the member’s current session, and the backend publishes signed events through the private Reverb API. The public application key identifies the installation; it is not a channel access credential.
| Component | Purpose |
|---|---|
| Reverb | Maintains browser WebSocket connections. |
| Broadcast worker | Consumes the dedicated realtime queue separately from slow media jobs. |
| Redis | Stores presence leases and the dedicated real-time queue. |
| Presence cleanup | Expires abandoned connection leases after crashes or abrupt disconnects. |
Configure the application
In the project’s private .env, replace the example hostname and generate separate values for the Reverb application ID, key and secret. For example, run openssl rand -hex 16 separately for the ID and key, then openssl rand -hex 32 for the secret. If the dedicated Redis server requires authentication, also set REDIS_REALTIME_USERNAME and REDIS_REALTIME_PASSWORD as required by that server.
REALTIME_ENABLED=true
REALTIME_HOST=community.example.com
REALTIME_PORT=443
REALTIME_SCHEME=https
REALTIME_PATH=/realtime
REVERB_APP_ID=REPLACE_WITH_UNIQUE_ID
REVERB_APP_KEY=REPLACE_WITH_UNIQUE_KEY
REVERB_APP_SECRET=REPLACE_WITH_UNIQUE_SECRET
REVERB_SERVER_HOST=127.0.0.1
REVERB_SERVER_PORT=8087
REVERB_HOST=127.0.0.1
REVERB_PORT=8087
REVERB_SCHEME=http
REVERB_ALLOWED_ORIGINS=community.example.com
REDIS_REALTIME_HOST=127.0.0.1
REDIS_REALTIME_PORT=6379
REDIS_REALTIME_DB=2The browser uses the public HTTPS hostname and port. On the server, REVERB_SERVER_* controls where Reverb listens, while REVERB_HOST, REVERB_PORT and REVERB_SCHEME tell Laravel where to publish events. Match the allowed origin to the site hostname.
Configure the Nginx WebSocket proxy
Configure the Apache WebSocket proxy
Install and start the services
For systemd, adapt the supplied templates before installing them. Replace /path/to/project, /usr/bin/php and the www runtime user and group with the values for your installation. Check WorkingDirectory, ExecStart and ReadWritePaths in each service. On a host with multiple RevoGram sites, use distinct unit names and ports and update the related unit references. The commands below use the template names.
cd /path/to/project
sudo -u www /usr/bin/php artisan config:clear
sudo install -m 0644 \
deploy/realtime/revogram-reverb.service \
deploy/realtime/revogram-broadcast-worker.service \
deploy/realtime/revogram-presence-prune.service \
deploy/realtime/revogram-presence-prune.timer \
/etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now revogram-reverb.service \
revogram-broadcast-worker.service revogram-presence-prune.timerFor existing units, use sudo systemctl start revogram-reverb.service revogram-broadcast-worker.service to start them on demand. After editing the realtime settings in .env, clear Laravel’s config cache and restart both services.
Verify the connection and event delivery
sudo systemctl status revogram-reverb.service \
revogram-broadcast-worker.service revogram-presence-prune.timer
curl -fsS http://127.0.0.1:8087/up
# Expected: {"health":"OK"}
sudo journalctl -u revogram-reverb.service -u revogram-broadcast-worker.service -n 50Sign in and check the browser’s Network panel under WS. A successful /realtime/app/… request upgrades with HTTP 101. With two authorized accounts, send a test message and confirm it arrives without refreshing. Check that an unauthorized account cannot subscribe to the private channel.
The dedicated worker has a 60-second job timeout; its queue retry_after must be greater than that timeout. Restart long-running Reverb and broadcast workers after deploying changed event or job code. Keep the presence-pruning schedule active.
- A connected socket alone does not prove authorized delivery. Test with two real authenticated accounts.
- If notifications work but media processing is delayed, inspect the media worker independently from the dedicated realtime worker.
- If reconnects fail, check the browser endpoint, TLS proxy path, allowed origins and channel authorization response before changing Redis settings.
Redis performance cache
Use the optional dedicated cache for feed ranking inputs and media metadata while keeping authorization and fresh content checks in the database.
- Open Admin → Settings → Redis cache at /admin/settings?section=redis.
- Choose inherited or custom server settings and configure host, port, ACL username/password, TLS and a dedicated cache database as needed.
- Use the connection test before saving. It tests unsaved values with a short-lived namespaced key and does not change the active connection.
- Set bounded TTLs, enable caching and save. Use a distinct installation prefix and keep this cache separate from realtime queues/presence.
- Verify feed behavior with a cold cache, a warm cache and a temporary Redis outage.
| Cached input | Documented default lifetime |
|---|---|
| Raw post-media metadata | 300 seconds |
| Per-member affinity and preferred formats | 60 seconds |
| Reaction, comment and repost ranking statistics | 20 seconds |
| Comment page IDs and counts | 60 seconds by default, with viewer permissions checked on access. |
| Small authorized local images | 120 seconds by default for images up to 1 MiB. Larger images, downloads, range requests and remote storage follow their usual paths. |
Home feed candidate pools and snapshots can reuse post IDs. Every page still checks current visibility, blocks, subscriptions and paid access. The photo cache checks access before using a cached local image, including a conditional request. Video bytes use their regular delivery path.
- The dedicated cache can use inherited Redis settings or REDIS_PERFORMANCE_* overrides. REDIS_PERFORMANCE_DB selects its database even when the inherited Redis URL contains another database number.
- PERFORMANCE_CACHE_ENABLED=false bypasses these caches. PERFORMANCE_CACHE_STORE can select another Laravel cache store.
- Saving configuration rotates a private namespace revision so older cached metadata cannot reappear after server/TTL changes or a disabled period.
- Connection/read timeouts are bounded. The first Redis error disables the optional cache for the remainder of that request and uses the normal SQL path.
- After a cache outage, missed invalidations may leave metadata until its short TTL. Access control is still checked live.
Member quick start
A practical tour for the people joining your RevoGram community.
- Create an account when registration is open, complete the configured confirmation, and follow the onboarding flow. Add a recognizable profile image and basic details; onboarding can be skipped when that option is available.
- Open your profile and /settings/personal-details to refine identity and biography. Review /settings/privacy and /settings/audience before posting publicly.
- Use the feed at / to publish an update, explore content at /explore, and discover people at /people-you-may-know. Visibility depends on the site’s enabled modules and account permissions.
- Visit /groups, /communities, /pages, or /threads to find spaces that fit your interests. Join or accept invitations where required.
- Open /messages for conversations and /notifications for activity alerts. Calls require the administrator’s call service and browser permissions.
- Use /bookmarks for saved content, /history for activity history, and /memories for historical reminders where those modules are enabled.
| Need | Go to |
|---|---|
| Change language, theme or accessibility | Settings preferences and accessibility sections |
| Control messages and online visibility | /settings/messaging |
| Review notification channels and quiet hours | /settings/notifications |
| Block or mute an account | /settings/blocking |
| View wallet or plans | /wallet or /plans |
| Review event tickets | /event-tickets |
| Download account information | /settings/data |
| Get help | /settings/help |
| Review your uploads and available space | /settings/storage |
| Return to a watched video | /videos/history |
Some pages allow guest browsing, while creation, messaging, private rooms, purchases, and account settings require an authenticated active account. A hidden navigation item may mean the administrator disabled a module; it does not necessarily indicate a broken installation.
On a trusted browser, use Switch accounts to add another signed-in account. Check the selected account before posting or opening a conversation. Removing a saved account from the switcher removes its shortcut on that browser.
Create an avatar or frame a profile photo
Use Avatar Studio to design a character, or add a frame to the picture you already use.
- Open Avatar Studio at
/avatar-studiowhen the site has enabled it. Choose a starting look and adjust the face, outfit and pose. Save a draft to return to it later. - Choose Apply when the character is ready for your profile. Open your profile photo to see the applied version. You can keep experimenting in your draft while visitors see the version you applied.
- To use a photo instead, open the profile picture editor. Pick an eligible photo, preview a frame and adjust the crop or zoom. Save the preview you want.
- Reopen the editor to change or remove a frame. RevoGram keeps a separate base image for this operation. Replacing the profile picture also retires the previous 3D view.
Find people and personalize your shortcuts
Find potential connections, then keep the spaces and external sites you return to in your sidebar.
- Open People You May Know at
/people-you-may-know. Search for a person or adjust the available profile filters. Set a discovery location and radius when you want nearby results. - Open a profile before sending a friend request. The action follows the recipient’s request preferences and shows a pending request when one already exists. Dismiss a suggestion to remove it from your recommendations.
- Open Edit shortcuts in the sidebar. Import an accessible group or a Page you follow or manage, or add a website link. Save the list, then use its edit and removal controls as your shortcuts change.
Manage your feed and reposts
Follow the sources you want on Home, then use your repost history to find, edit or remove what you shared.
- Follow a person or Page, or join a group or community. Following someone adds their eligible personal posts to Home. To receive posts from a space where they publish, follow or join that space separately.
- Look for the suggestion label when browsing Home. Accounts without eligible posts from their network see public discovery suggestions. Connected feeds can also include occasional labeled suggestions.
- Use the repost action on a visible post. You can share immediately or add a note with mentions. Edit the note on your own repost if you want to add context later.
- Open History → Reposted to search your reposts or filter by date. The date filter uses UTC. Remove a repost here to take your copy off your profile. The original stays with its author.
Share a place and find past visits
Use a check-in to put a place on a post. The Visits section on a profile brings together the places shared in eligible posts and approved tags.
- Choose a location when creating a post, then review its audience before publishing. A location page groups eligible check-ins, Pages and events for that place.
- Open Visits on your profile to find your recent places. Multiple check-ins at one place are grouped together. An approved tag in someone else’s check-in can also appear.
- To change what others see, review your profile information and location-sharing settings as well as the audience of the original post. People can see fewer places than you can when viewing your profile.
Posts, media, blogs & articles
Publish short updates or long-form writing while keeping audience, authoring, and media controls consistent.
The feed is the main publishing surface. Posts and comments use the shared rich-text editor, including formatting and selected member mentions. The application stores readable plain text alongside a validated structured document; ordinary text clients remain supported. Mentions resolve to account identities, so changing a display name does not turn the reference into a different account.
- Create a post from the feed composer. Add text and supported attachments, review the audience and any contextual group or community destination, then submit.
- Use the post’s menu to edit or remove content you own. A moderator’s case actions are separate from the author’s edit controls.
- Open Photos, Videos, or Clips from the main navigation to browse the enabled media collections. Media availability follows the owning record and audience.
- For longer writing, open /blogs and use /blogs/create. Choose Blog or Article, enter the title and body, set category and privacy, and use the available draft, scheduling, or publishing controls. Edit owned publications through /blogs/manage/{id}/edit.
- Admin → Settings → Post controls posting behavior; Uploads controls the global upload switch and limits.
- Admin → Settings → Blogs & Articles can independently allow new blogs and new articles. Disabling one type preserves existing publications and allows editing them without switching to that disabled type.
- Admin → Photo Viewer configures the shared viewer. Opening a photo does not bypass the media owner’s visibility rules.
- Draft and scheduled publications should be checked with a different member account before being treated as publicly discoverable.
Publish image text and reuse post templates
Choose Image text for an illustrated message, or start from a template when you want to reuse the structure of a post.
- Open the post composer and choose Image text. Enter your words and select a design from the gallery. Check the preview before choosing the audience and publishing.
- To revise the art, edit the text or design and save. The same renderer produces the preview and published image. The original words remain available for editing, search and accessibility.
- For repeatable posts, open Templates at
/templates. Copy a starter or save your own template. Open it in Post Studio, review its content, select the audience and publish when ready.
Build and share a 3D post
A 3D post places an interactive scene in the feed. The site administrator controls scene publishing separately from Avatar Studio.
- Enable 3D posts in Admin → Settings → Modules if you administer the site. This module starts disabled. Open the post composer and select the 3D format.
- Choose a sculpture or compose a scene with image layers. For an avatar scene, enable Avatar Studio too and choose your character. Transparent image layers can retain their cutout edges.
- Preview the scene, choose the audience and publish. Open it from the feed as a viewer with the intended access.
- Edit the caption from the published post. To share a different scene, compose a new post. The original scene stays attached to the first publication.
Publish a Motion or Live Photo
Upload the original still and its short recording as one photo so people can replay the moment in their feed.
| Source | What to select in Photo/video |
|---|---|
| Android or Samsung Motion Photo | Choose the original JPEG containing the embedded recording. A flattened or re-saved JPEG may contain only the still. |
| Apple Live Photo export | Select the photo and its matching MOV or MP4 together. Both files need the same base name, for example Garden.jpg and Garden.mov. If the browser cannot decode a HEIC cover, export a JPEG and select the pair again. |
- Open Photo/video in the post composer. Check that the preview marks the attachment as a motion photo. Dragging or removing the photo also moves or removes its recording.
- Publish to the intended audience. On a feed card, hover over the photo or press and hold on a touchscreen. Open the viewer for playback and sound controls.
Protect an album, photo or video with a PIN
Owners can add a four-digit PIN to eligible media as an extra viewing step for the people who already have access.
- Open the PIN protection control for an album, photo or video you own. Turn on Protect with a PIN, enter four digits and confirm them.
- Choose album protection to cover its existing and future media. If an individual item also has a PIN, its own protection still applies.
- Share the PIN with the intended viewers. An eligible viewer opens the media and enters the four digits. Public media can also be unlocked by a guest when guest viewing is available.
- Return to PIN protection to change or disable it. Changing the PIN invalidates previous unlocks. Switching accounts or an expired unlock also prompts the viewer again.
Share a story and organize photos into albums
Stories are temporary updates. Albums organize photos members can revisit and have their own visibility settings.
- Open Add story and choose a photo or video. Use the editor to add text, stickers or drawing, review the audience and publish. Stories normally expire after 24 hours.
- Open a visible story to like it or reply. A private reply goes through Messenger and its messaging permissions. Story links check the viewer’s access and the story’s expiry when opened.
- Open Photos to find or create an album you own. Select photos in your library, choose the destination album and confirm the move. Review the album audience before sharing a link.
- Set an album cover from an eligible photo. Open the album as its intended audience to check the cover and contents. To protect eligible photos, videos or an album with a PIN, use the media privacy controls.
Publish a video or Clip
Choose Watch for a regular video, or Clips for a short portrait upload. The uploader checks the actual media before publishing.
| Destination | Prepare the upload |
|---|---|
| Watch · /videos/upload | Select a video, enter its title and description, choose a cover frame or upload a custom cover. A custom cover takes precedence over the chosen frame. |
| Clips · /clips/upload | Use a portrait video no longer than three minutes. Preview its framing and cover, then review the audience, comment permissions and profile display before posting. |
- Check the selected publishing identity if you manage a Page. A video published to a Page carries its Page identity in Watch, Clips, playlists and history.
- Submit the upload and wait for confirmation. After a Clip publishes, copy its share link. If an optional share to Stories fails, retry the Story action on the published Clip.
- For an ordinary feed upload with automatic classification, a single eligible portrait video can become a Clip. Mixed media, a regular-video choice or unavailable Clips support keeps it in the regular video workflow.
On a phone, the Watch detail page lists suggested videos in large thumbnail cards. Clips play inline when visible and support opening comments in a full-screen panel.
Create a playlist or series and manage watch history
Use playlists to collect videos, Shows to publish a series, and watch history to return to videos you played.
- Open /videos/playlists and select Create playlist. Give it a title and choose the audience. Add available videos, then arrange them in the order you want them played.
- For a series, enable This playlist is a series in the playlist editor, or select Create series in Shows. A public series from a discoverable public profile needs at least one available episode to appear in Shows.
- Open /videos/history to find a previously watched video. Use search and date filters, remove a single entry, or clear your video history. These controls affect your personal history.
Find saved items, memories and history
Use Bookmarks for things you deliberately saved, Memories for past posts, and History for activity associated with your account.
| Where to look | How to use it |
|---|---|
Bookmarks · /bookmarks | Save a post into one of your collections. Use the filters to return to saved jobs, videos or individual question answers. Your collections belong to your account. Removing a bookmark leaves the original item in place. |
Memories · /memories | Open a memory and choose Share to publish a reference to the original. The original media stays with its author and keeps its visibility rules. |
History · /history | Search and filter your exploration history. Pause recording or clear recorded visits when needed. Use Reacted / liked to find a current reaction and remove it on the original item. |
Watch history · /videos/history | Manage the videos you have watched and the recording preference. To find a saved video by its original publication date, use the upload-date filter in saved videos. |
Comment as yourself or a Page
Choose the public author before sending a comment or reply on a post, photo or blog.
- Open the author control beside the comment composer and select Comment as. Choose Your profile, or select one of the active Pages you own. A Page administrator who does not own the Page cannot select that identity.
- For a personal comment with a different picture, choose Change avatar and select an available avatar. Create avatar is available where Avatar Studio and uploads are enabled. This changes the picture on the comment only.
- Enter the reply or choose an allowed attachment, then send. Check the public name and avatar on the posted comment. Editing the text retains the original author choice.
Send photos, voice and locations in chat
Prepare files and map locations in the conversation draft. The chat shortcut has a separate recording flow for voice messages.
- Open a conversation and use the attachment menu to select Photo, Video, Music or File. Review the attachment tray and remove any file you did not mean to share. A batch of up to ten photos and videos can be sent together as one ordered message.
- Choose Map to search for a city, or explicitly request your current location. Check the preview and add it to the draft. Use Send when ready. If device permission is declined, you can still choose a place by search.
- In a chat shortcut, start recording with the microphone. Stopping the recording sends the voice message immediately. Closing the chat while recording cancels it. If delivery fails, use the retry or discard action.
When you are reading older messages, a new-message button shows how many arrived. Tap it to return to the newest message. An open conversation avoids extra message sounds and shortcut toasts.
Invite contacts and track invitations
Use the personal invitation link for sharing, or send email invitations when the site enables them.
- Open Invite contacts and select Share link to copy your invitation URL. Share it with the people you want to invite.
- For addressed invitations, choose Invite by email, review the recipients, and submit the batch within the site’s allowance. Duplicate or unavailable recipients can be skipped.
- Open Invitations to check the status of each invitation. Cancel a pending invitation to revoke its link, or use retry for an eligible failed invitation. A queued invitation waits for the configured mail worker.
Groups, Pages, threads & Shoutbox
Choose a community space for persistent publishing, organized discussion, or room-based conversation.
| Space | Member route | Purpose |
|---|---|---|
| Groups | /groups | Group profiles, memberships, posts and rules |
| Communities | /communities | Community profiles, memberships and posts |
| Pages | /pages | Public publishing identities, followers and invitations |
| Threads | /threads | Categorized discussion topics, replies, likes and following |
| Shoutbox | /shoutbox | Room directory and real-time conversation |
- Enable the relevant family in Admin → Settings → Modules. For Threads or Shoutbox, also open its dedicated settings section.
- For Threads, decide whether members can create topics, set topic/reply length limits, and configure up to 12 categories. Members can search and sort discussions, reply, like, or follow topics.
- For Shoutbox, choose member posting, message length, slow-mode delay, history window, and the desired contextual placements.
- Create a public or private room from Shoutbox. Public rooms require joining before reading or posting; private invitations must be accepted before conversation history is available.
- For a group or community, choose All members or Invited members only for its chat. Parent privacy and approved membership continue to determine eligibility.
Shoutbox supports text and replies, photo attachments, GIFs, stickers and browser-recorded voice. Choose one media mode per message. The room rejects video file uploads. Microphone recording requires HTTPS and a compatible browser.
- The history-days setting limits visible history; it does not permanently erase older messages.
- Context rooms can appear alongside groups, communities, and marketplace item details. Item-specific marketplace rooms are isolated from one another.
- Removing a room participant and banning them are different actions. A ban prevents room history, attachments, messages, and channel access until lifted.
- Following a discussion collects it in the Following feed; it does not subscribe the member to email or notification fanout.
Groups, communities, marketplace listings, discussion threads, fundraisers and blog posts each have a Shoutbox setting. The owner or authorized manager can enable or hide that conversation. Turning it off preserves the messages. Site module, placement and audience settings still govern access.
Open Reviews on an eligible public Page to read its ratings. Signed-in reviewers can submit or update their own rating. Guests can read public reviews.
Set up a group, community or Page
Choose a group for a membership space, a community for a shared interest, or a Page when the space needs its own publishing identity.
- Open Groups or Pages and choose Create. Follow the guided form, review the details and submit. Check the new space’s name, visibility and publishing identity before inviting people.
- For a community you own, open its home tab. Use the setup card to upload and position a cover, write a description and choose a profile photo. The card records completed items and closes when all three are saved.
- For a group or community, review membership and posting controls before inviting members. For a Page, use its Page identity to publish and its own inbox when responding to readers.
Write, schedule and publish blogs and articles
Use the editorial workspace for long-form writing with a draft, publication date, category and reader page.
- Open Blogs & Articles and choose Create at
/blogs/create. Select Blog or Article from the types the administrator allows, enter the title and write the body. Use headings to organize a longer article. - Review the category, tags, publishing options and visibility. Save a draft to return to it through your own writing, publish immediately, or choose a future publication time.
- For a scheduled entry, the installation’s scheduler runs
blogs:publish-scheduledwhen the item is due. Verify publication from the reader page using the intended audience. - Return to your own writing to edit an entry. If the site later disables creation of its type, existing writing of that type remains editable by its author.
Marketplace & job workflows
Connect community members with listings and opportunities, with owner tools and private application records.
Marketplace is available at /market when its module is enabled. Members can browse listings, save items, and use seller tools. Individual item pages use /market/{id}. Where contextual Shoutbox is enabled, an eligible signed-in viewer is admitted to that item’s own conversation room; separate listings never share their message history.
- Enable Marketplace and Jobs in Admin → Settings → Modules. Review the global upload configuration before allowing listing images or application documents.
- Open /jobs to discover opportunities. Members can open /jobs/create to publish as themselves or an eligible Page they own.
- Choose job details, location/workplace information, employment type, salary information, application mode, and CV requirement. Use /jobs/{id}/edit for owner changes.
- Review job policies and applications in Admin → Jobs at /admin/jobs. Administrators can require approval and set active listing and CV-size limits.
- Applicants use the job’s internal application form or its configured external/email destination. Owners and administrators review internal applications; applicants can withdraw where the current state permits it.
Only active, approved, unexpired listings from available authors and valid Page identities are publicly available. Owners and administrators may see management states that other members cannot. Applicants cannot apply to their own listing, and bilateral profile blocks prevent normal application interactions.
Internal applications preserve a job snapshot and status history. Applicant contact details, cover letters, profile resumes, and uploaded CVs are private. Authorized owners and administrators can manage applications; a withdrawn application no longer exposes its resume to the employer. Application history can remain accessible when a job is closed or archived.
Open a listing’s seller reviews to read the rating across that seller’s listings. A signed-in member can leave one star rating per seller with optional review text. Submitting an updated rating replaces their previous review. A seller cannot rate their own seller profile.
Create and measure a Page advertising campaign
Start with a Page you own. The campaign builder saves the campaign as a draft and keeps its ad, audience and placement settings together.
- Open Campaigns → Create at
/campaigns/create. Select your Page, give the campaign a name and choose its objective. - Define the audience, budget and dates. Choose a new ad or an eligible Page post, review the creative and destination, and select the placements where it should appear.
- Review the campaign and publish when ready. Open Manage at
/campaigns/manageto pause a campaign or duplicate a draft. - Open
/campaigns/analyticsor the campaign’s own analytics page to inspect recorded delivery and engagement. Export the report when you need a copy outside the site.
User plans & memberships
Offer fixed-term or lifetime membership benefits while preserving the terms a member purchased.
Admin → User Plans at /admin/user-plans manages plan offerings. Members browse active offers at /plans. A plan defines its name, presentation, price and currency, term, included benefits, highlights, and Page/group creation allowances.
| Benefit | Behavior |
|---|---|
| Supporter badge | A membership badge separate from identity verification |
| Profile visitor history | Shows visits only from people who choose to share them |
| Featured membership | Adds a featured label and modest people-discovery boost while respecting privacy |
| Page and group allowances | An active membership can increase the free creation allowance; zero means unlimited |
- Review the site currency and free Page/group allowances. Configure the wallet before selling paid plans.
- Create a plan, choose its term and benefits, and make it active when the offer is ready. Draft or archived offers are not offered as new purchases.
- Review the member-facing /plans screen with a regular account. The member confirms the current offer and pays from the wallet for a priced plan.
- Use the administrator membership actions to grant or revoke access when appropriate, recording the reason. Review the membership’s recorded history after changes.
User Plans do not automatically renew. Access begins for the term shown; members choose when to purchase again. A member with current access cannot buy another plan until it ends. The plan and wallet must use the current site currency, and paid purchases require the wallet module. If an offer changes before confirmation, the member must refresh and review it.
Offer and manage creator subscriptions
Creator subscriptions give a paying member access to a particular creator’s subscriber-only posts.
- The administrator enables creator subscriptions under a verified Extended license. A creator sets the subscription price and selects the subscriber audience on an eligible post.
- A reader opens the subscription offer, reviews the price and confirms using an eligible wallet balance. After payment, the subscriber can open posts covered by the subscription.
- To stop renewal, cancel the subscription. Access continues through the paid period. Renewals use the price agreed for that subscription.
Run a fundraiser or invite members by referral
Fundraisers collect contributions toward a goal. Referrals attribute registrations to a member’s invitation link.
- For a fundraiser, open
/fundraisers, choose Create and enter its title, description, category and goal. Review the published fundraising page and manage it from the owner’s account. - To contribute, open the fundraiser, check the amount and confirm the wallet payment. A successful donation records the contribution, updates the wallets and counts toward the fundraiser.
- For referrals, open
/referralsand share your personal registration link. Return to the referral dashboard to check attributed registrations and any rewards. - As an administrator, configure the referral reward and its limit before promoting the program. Once a member reaches the reward limit, later valid referrals can still appear without a new wallet credit.
Set upload quotas and storage plans
Members can inspect the space their uploads occupy and purchase an eligible storage offer. Administrators configure those allowances separately from membership benefits.
- Administrators open /admin/user-storage to set free capacity, a near-full warning threshold and whether quotas are enforced. Review the capacity, price, term and active status of each paid offer.
- Members open Settings → Storage at /settings/storage to review usage and the active allowance. Check the offered capacity, price and expiration before confirming a wallet purchase.
- If an upload stops at the quota, review the storage summary. Originals, derivative files and pending allocations can contribute to usage. Free space or choose an available larger offer before retrying.
php artisan user-storage:reconcile --jsonThe audit previews ownership and size adjustments. Review unresolved entries before applying changes. The reconciler leaves ambiguous owners and unknown cloud sizes unresolved.
Event tickets and organizer settlement
Offer built-in wallet tickets or an external HTTPS ticket link for group and community events while retaining the normal RSVP flow.
- Open Admin → Settings → Events & Ticketing at /admin/settings?section=event-ticketing. Enable the events module, built-in wallet tickets and/or external ticket links.
- Set the maximum tickets per order and maximum ticket price in major wallet currency units. Paid bookings also require the wallet module.
- As an authorized event organizer, open the event’s Tickets panel. Create up to 20 types with prices, capacities, per-person limits, availability and optional sales windows.
- Verify the event’s audience and organizer membership. Buy a test ticket, inspect the independent receipt and check in its entry code against the correct event.
- Review orders and collect eligible proceeds only after the event ends, or 24 hours after its start when it has no end time.
- Buying a ticket does not create an RSVP or silently join the buyer to the host group.
- Each order retains its original title, price, currency and quantity even if the ticket type changes later.
- Inventory and ledger changes are transactional and idempotent. An altered quote, exhausted capacity, limit violation or insufficient balance cannot issue tickets.
- Paid proceeds are held on the confirmed order until settlement so unsettled orders remain fully refundable.
- Before the event starts, a buyer may cancel if no ticket in the order has checked in. The organizer may refund an unsettled order; cancellation refunds all unsettled orders.
- Refunds invalidate entry codes and restore inventory. Settlement and refunds are mutually exclusive; paid settled events cannot then be cancelled through the event cancellation API.
The independent /event-tickets page retains buyer receipts and organizer financial access if new sales are disabled. Financial receipts/refunds can survive a later audience change. Setup and check-in still require active manager membership. External links must use HTTPS and are not fetched by the backend.
For an event hosted by a person, select your profile as host during creation. Set its schedule, review the details and publish. A personal event can have its own invitations and discussion without requiring group membership.
Audio and video calls
Enable browser calls with LiveKit media transport, private conversation authorization and member-controlled microphone, camera and screen sharing.
Calls share the configured LiveKit service with live broadcasting. Reverb delivers invitations and call-state updates; LiveKit carries audio, video and screen-share tracks. A call URL contains an application UUID rather than a media access token, and copying the URL does not grant membership.
- Configure LIVEKIT_ENABLED, LIVEKIT_URL, LIVEKIT_API_URL, LIVEKIT_API_KEY and LIVEKIT_API_SECRET on the server. The browser URL must use secure WebSocket signaling.
- Deploy a reachable LiveKit service, reverse proxy and matching signed webhook configuration. Use the supplied deploy/livekit templates only on a new installation without conflicting media services.
- Open Admin → Settings → Audio & Video Calls at /admin/settings?section=calls. Enable calls, choose the participant limit and set whether screen sharing is permitted.
- Check HTTPS camera/microphone permission, popup behavior and media connectivity from at least two networks. Test an audio-only answer as well as a video answer.
| Setting | Behavior |
|---|---|
| calls_enabled | Offers calls when the integration is configured and the member is eligible. |
| calls_max_participants | Total room capacity, including the host; the saved limit applies to new calls. The default is 12. |
| calls_screen_share_enabled | Allows participants to choose a screen, window or browser tab. |
- An incoming invitation requires an explicit Answer click before a call window opens or capture begins. Mobile browsers may open a tab instead of a window.
- Microphone and camera remain each participant’s choice. Another participant cannot remotely enable capture.
- Conversation membership, messaging privacy, call permissions, blocking and account restrictions are enforced by the server.
- Missed-call alerts use notification preferences, quiet hours and the Calls category. Unanswered invitations create missed-call records; answered or declined invitations do not.
Call reconciliation runs through livekit:reconcile on the application schedule. Run only one reconciliation mechanism. The current call feature does not record calls; livestream recording controls do not enable call recording. WebRTC protects media in transit and should not be presented as end-to-end encryption against the media server.
Live broadcasting
Publish camera, microphone or screen-share tracks to LiveKit rooms, with audience-aware viewing, live discussion and optional replays.
The Live Studio sends media directly through LiveKit over WebRTC. Viewers subscribe to the active room. Live broadcasting does not depend on recording and uploading browser chunks; turning recording off keeps the broadcast live.
Option 1. LiveKit Cloud
- Create a LiveKit Cloud project. Copy its Project URL, API key and API secret into the project’s private
.envas shown below. Use the same project hostname for both URLs. - In LiveKit Cloud, open Settings → Webhooks. Add
https://community.example.com/api/livekit/webhook, replacing the example hostname with your public RevoGram hostname. Select the same signing API key that you set inLIVEKIT_API_KEY.
LIVEKIT_ENABLED=true
LIVEKIT_URL=wss://YOUR-PROJECT.livekit.cloud
LIVEKIT_API_URL=https://YOUR-PROJECT.livekit.cloud
LIVEKIT_API_KEY="YOUR_PROJECT_API_KEY"
LIVEKIT_API_SECRET="YOUR_PROJECT_API_SECRET"
LIVEKIT_INGRESS_ENABLED=false
LIVEKIT_EGRESS_ENABLED=false
LIVEKIT_RECORDING_ENABLED=falseThe browser connects directly to the LiveKit Cloud hostname. Keep the API secret server-side. The optional settings shown disabled are for external encoders, outgoing RTMP and recording.
Option 2. Self-hosted LiveKit
- Provision a LiveKit service with a private API listener, a public TLS signaling endpoint and reachable media ports. On a fresh host, you can use the supplied
deploy/livekit/Compose templates. Check port availability before starting a new stack on a shared host. - For the supplied Compose example, set
LIVEKIT_RUNTIME_DIRin a privatecalls.envfile outside the web root. In that runtime directory, preparelivekit.yamlandredis.conffrom the supplied examples, replace the placeholders, use the same Redis password in both files, and create thecerts/directory for the bind mount. Allow the containers to read their configuration files. Keep the credentials and the Redis listener private. - Set
webhook.api_keyinlivekit.yamlto the same API key used in RevoGram. Put your publichttps://community.example.com/api/livekit/webhookURL underwebhook.urls. - For the same-host example below, configure the HTTPS proxy at
/livekit/, and keep Laravel’s API requests onhttp://127.0.0.1:7880. For a separate media host, use its publicwss://endpoint for browsers and an API URL reachable from Laravel.
cd /path/to/project
docker compose --env-file /etc/revogram/livekit/calls.env \
-f deploy/livekit/compose.calls.yaml up -d
docker compose --env-file /etc/revogram/livekit/calls.env \
-f deploy/livekit/compose.calls.yaml psLIVEKIT_ENABLED=true
LIVEKIT_URL=wss://community.example.com/livekit
LIVEKIT_API_URL=http://127.0.0.1:7880
LIVEKIT_API_KEY="YOUR_LIVEKIT_API_KEY"
LIVEKIT_API_SECRET="YOUR_LIVEKIT_API_SECRET"
LIVEKIT_INGRESS_ENABLED=false
LIVEKIT_EGRESS_ENABLED=false
LIVEKIT_RECORDING_ENABLED=falseConfigure the self-hosted LiveKit signaling proxy in Nginx
Configure the self-hosted LiveKit signaling proxy in Apache
LiveKit media ports and firewall requirements
Apply the configuration and test a broadcast
cd /path/to/project
sudo -u www /usr/bin/php artisan config:clear- Use the PHP path and runtime user for your installation. Confirm the application migrations have been applied, the normal queue setup is running, and the Laravel scheduler runs
livekit:reconcile. Use one reconciliation runner. - Open Live Studio over HTTPS, choose Camera, allow microphone and camera access, and start a stream with recording off. Join from a second authorized account, preferably on another network, and verify both audio and video. End the stream and confirm the viewer sees it end.
- Check LiveKit’s webhook delivery after the test. A successful signed delivery to RevoGram returns HTTP 204. If signaling connects but media never arrives, check the configured WebRTC ICE and TURN ports and camera or microphone permissions.
Enable OBS input, RTMP output or saved replays
- A private preview is not a published stream. Verify both the media track and the application’s published state.
- The owner’s studio route /live/studio/{session_uuid} restores that specific session and remains restricted to its owner.
- Viewer counts represent concurrently connected viewing sessions. Hosts, ingress publishers, recorders and joining/disconnected participants are excluded; unavailable counts are not reported as a false zero.
- Live comments and reactions use existing post permissions, blocking, account restrictions and moderation. Media-room access does not bypass those checks.
- Finished streams with a ready recording play in feed/detail cards through the normal replay player. A replay does not join a live room.
Before service changes, check for active calls and broadcasts. Restarting the media server disconnects participants. Run application commands as the same account used by PHP and queue workers to preserve writable cache locks.
Recording and RTMP encoders
Add optional recording, external encoders and outgoing restream destinations through separate LiveKit Egress and Ingress services.
| Capability | Required service and configuration |
|---|---|
| External encoder input | LiveKit Ingress; LIVEKIT_INGRESS_ENABLED and, when needed, LIVEKIT_INGRESS_URL. |
| Replay recording | LiveKit Egress; LIVEKIT_RECORDING_ENABLED plus private recording storage. |
| Outgoing RTMP | LiveKit Egress; LIVEKIT_EGRESS_ENABLED. Each destination uses an independent job. |
- Deploy Ingress and Egress separately from the LiveKit server, sharing the server’s Redis settings and matching API credentials. Size media processing independently from the PHP application.
- For local recordings, mount the same private output directory into Egress and configure the host path and container path with LIVEKIT_RECORDING_LOCAL_PATH and LIVEKIT_RECORDING_EGRESS_PATH.
- Configure efficient authorized local playback with LIVEKIT_RECORDING_INTERNAL_REDIRECT_PREFIX, or configure the recording-specific S3-compatible bucket, region, endpoint and credentials.
- Enable the desired capabilities. Create encoder credentials from the owner’s studio and enter the returned RTMP/RTMPS address and unique stream key in the encoder.
- Test recording start, stop, restart and finalization while the broadcast continues. Verify a completed replay and an outgoing destination independently.
- Stopping recording ends only its Egress job. Starting it again creates a new replay segment.
- Outgoing destinations are independent of recording. The application allows up to three outgoing destinations per session.
- Ingress stream keys and outgoing destination keys are encrypted and omitted from viewer responses. Treat a stream key as a password.
- LIVEKIT_RTMP_ALLOWED_HOSTS can restrict outgoing destination hosts. Validation also rejects unsafe schemes and private/reserved destination addresses.
- Egress room composites use a browser and require the documented container sandbox capability. Budget CPU and memory for each concurrent composite job.
If a replay remains in preparation, inspect Egress health, shared output permissions, expected file paths, signed webhook delivery and the reconciliation schedule. Do not resolve the problem by making the recording directory public.
Once a video replay is ready, members can play it on the original feed card, open it in Watch, or add it to a playlist where its audience permits. While the recording finalizes, the card shows its preparation state. Audio-only recordings play on the original card.
Wallet payments and settlement
Connect hosted payment gateways for wallet top-ups, then use wallet credit across eligible purchases and donations.
- Open Admin → Settings → Payments at /admin/settings?section=payments. Enable global payments and select a gateway.
- Complete merchant onboarding with the provider. Enter the exact test/sandbox or live credentials for that environment, supported currency and exchange rate.
- Copy the gateway’s displayed webhook URL into the matching merchant dashboard. Use your public HTTPS application URL.
- Save the settings and enable the gateway only after configuration is complete. Blank credential replacement fields preserve existing encrypted values.
- Complete an end-to-end sandbox checkout, confirm authenticated server settlement and verify the wallet ledger before accepting real customer payments.
https://community.example.com/api/v1/payments/webhooks/PROVIDER_IDThe exchange rate is gateway currency units per one unit of the website wallet currency. Matching currencies always use a rate of one; a different currency requires a positive configured rate. Amounts and rates are saved with the payment so later settings changes do not rewrite an in-flight transaction.
- Only an authenticated provider notification or authoritative server-side API verification can settle a payment. A browser success page is not a receipt.
- The application checks the saved reference, amount, currency and provider transaction before crediting. Duplicate requests and webhook retries cannot credit the wallet twice.
- Some hosted returns remain pending until a webhook arrives. Reopen the wallet and reconcile pending/failed payments with the merchant dashboard.
- A gateway disabled after checkout can still complete an existing in-flight payment.
- Refund, dispute and chargeback notifications do not generate a new positive wallet credit.
Provider countries, supported currencies, acquiring capability, taxes, fees and live account permissions depend on the merchant agreement. Keep the sandbox and live webhook registrations, secrets and dashboard environments consistent.
Payment gateway reference
RevoGram includes 12 wallet top-up integrations. Configure each gateway’s own credentials and notification rules rather than reusing another gateway’s keys.
| Gateway / ID | Credentials and setup |
|---|---|
| Stripe / stripe | Secret key and webhook signing secret; test/live mode. Uses hosted Checkout. Register the matching Checkout completion and asynchronous payment notifications. |
| PayPal / paypal | Client ID, client secret and webhook ID from the matching sandbox/live app. Uses Orders capture; payment completion must be verified. |
| Wave / wave | API key, webhook secret and optional request-signing secret. Configure its gateway-to-wallet exchange rate and signed checkout notifications. |
| PayFast / payfast | Merchant ID, merchant key and passphrase; sandbox/live mode. ZAR payment amounts require the configured conversion rate and validated ITN notifications. |
| NOWPayments / nowpayments | API key plus a separate IPN secret; sandbox/live and invoice fiat currency. Only signed finished notifications settle; partial/confirming payments remain pending. |
| Cashfree / cashfree | App ID and secret; sandbox/live, INR and conversion rate. Enable Payment Link notifications. The customer needs a valid phone number in their profile. |
| Razorpay / razorpay | Key ID, key secret and a separate webhook secret; test/live. Register paid, partially_paid, cancelled and expired Payment Link events. Only a fully captured payment settles. |
| Paystack / paystack | Secret key and matching test/live environment. Register charge.success; a valid customer email is required and the server verifies the transaction. |
| Paysera / paysera | Project ID and signing password; test/live and currency/rate. Checkout Classic callbacks settle only received-payment status 1 and return the required OK acknowledgment. |
| 2Checkout / twocheckout | Merchant code, IPN secret key and buy-link secret word. Configure ConvertPlus signed Buy Links and SHA2-256 or SHA3-256 IPN; only COMPLETE settles. |
| Authorize.net / authorize_net | API login ID, transaction key and 128-character hexadecimal signature key. Uses Accept Hosted for a USD merchant account; register capture/fraud/void notifications and disable live-account test mode. |
| CoinPayments / coinpayments | Current REST v2 integration client ID/secret, API instance and numeric fiat currency ID. Legacy merchant/public/private/IPN credentials are not accepted. Only a completed invoice settles. |
The displayed admin form is the configuration contract for your installed version. Supported currency choices vary by gateway and still depend on merchant capabilities. CoinPayments signs the exact public callback URL, including its path; keep application URL and provider registration aligned.
Configure wallet promo codes and live gifts
Use promo codes for wallet top-ups and the live gift catalog for priced contributions during a broadcast.
- Open Admin → Promo codes at
/admin/promo-codes. Choose eligible accounts directly or by their purchase history. Configure the offer and expiry, then send the code by email if needed. - The member selects the assigned code when topping up. A full discount can complete the top-up immediately. With a partial discount, the gateway charges the remainder and successful payment redeems the code.
- For broadcasts, open Admin → Live gifts at
/admin/live-gifts. Upload gift artwork, set the price and enable the gift. Confirm the wallet and live support settings permit gifts. - A viewer opens an eligible stream, chooses an available gift and confirms. The purchase uses the current catalog price. Later price or artwork changes leave the original receipt intact.
AI providers and member tools
Configure the post writer, image generator and site assistant independently, using hosted APIs or your own supported inference service.
- Open Admin → AI Configuration at /admin/ai-configuration and enable the master AI switch.
- Select the text provider, endpoint, model and credentials. Writer and assistant share the configured text model; load its catalog or enter an exact valid model ID.
- For images, configure the independent Image generation provider, endpoint and image-capable model. Load models when supported or enter its exact ID.
- Enable only the intended member tools, set instructions/output limits/timeouts and choose the shared daily request allowance. Save.
- Verify each enabled tool as a normal member. Generate a draft or preview, then explicitly apply or attach it; generation alone must not publish a post.
| Tool | Behavior |
|---|---|
| Post writer | Generates or edits a draft with tone/length controls; applying does not overwrite a caption changed since generation. |
| Image generation | Returns a validated image preview for explicit attachment, then uses normal upload/processing and audience rules. |
| Site assistant | Answers questions and explains supported navigation; has no action tools, private account data or search. Its conversation remains in component memory. |
The installed text catalog supports direct providers including OpenAI, Anthropic, Gemini, xAI, Kimi, DeepSeek, Mistral and Cohere; gateways including Groq, OpenRouter, Together AI, Fireworks AI, Perplexity, Cerebras, NVIDIA NIM and Hugging Face; Azure OpenAI; and Ollama, LM Studio or a compatible API. Model IDs and availability must be confirmed with the selected service.
Image providers include LocalAI, Hugging Face Inference and compatible /images/generations APIs. Compatible endpoints must return b64_json; URL-only responses are not downloaded. Requested shapes are square, landscape or portrait, and the model must support the requested dimensions within the configured timeout.
- Only fully configured enabled tools appear to members. Image generation also requires uploads to be enabled and an eligible composer format.
- The shared daily per-member allowance defaults to 30 requests and can be set from 1 to 500. It resets at UTC midnight.
- Provider attempts consume usage even if the provider fails or the browser cancels. Text is additionally limited to 15 requests/minute and images to 5/minute.
- Generated images are checked as real raster data, with an 8 MiB cap or the smaller global upload limit, plus bounded dimensions and provider response size.
- Prompts and the supplied conversation context are sent to the configured provider. Provider keys and operator instructions remain server-side.
GIFs and stickers
Configure provider search for GIFs and stickers. Members can also keep private libraries of uploads and favorites.
- Open Admin → Settings → Stickers & GIFs at /admin/settings?section=stickers-gifs.
- For GIFs, obtain a GIPHY browser API key, enter it, choose the content rating and two-letter country code, enable search and save.
- Use Preview saved GIF search to test trending results and keyword searches with the persisted configuration.
- For stickers, create a KLIPY browser key, select its content filter and country code, enable the integration and save.
- Use Preview saved sticker search to check trending, categories and searches. Arrange provider production access and quotas before a public rollout.
| Integration | Where and how it is used |
|---|---|
| GIPHY | Searchable GIF picker in Create post, Post Studio, Messages, floating conversations and eligible community messaging. The browser requests GIPHY directly. |
| KLIPY | Sticker discovery in supported comments, replies and conversations. Saved and uploaded stickers also work in supported Shoutbox rooms. |
- These are intentional browser integration keys: authenticated users receive them when opening the picker. Use credentials intended for this application, not a server-only secret.
- Keys are encrypted and masked in settings. Blank replacement fields preserve them; explicit removal clears the saved key and disables that integration.
- Provider media loads directly from the provider. The application does not mirror, proxy or download the GIF/sticker catalog.
- Disabling a provider stops new remote searches. Existing messages and eligible saved items remain available.
- Uploaded attachments and searched GIFs cannot be combined in one post or message; polls cannot include GIF attachments.
- The picker retains provider attribution, validates selected metadata and handles empty results, provider failures and rate-limit retries.
Build a personal GIF and sticker library
Save a favorite, upload an animation or make a sticker you can use again in comments and conversations.
- Open the GIF picker and choose Uploaded GIFs to upload an animation. Uploads accept a GIF up to 20 MB, subject to a lower site upload limit. Use Favorites to save or remove an item.
- Open the sticker picker and choose My stickers. Select an image and review the generated outlined sticker. Adjust the outline color, thickness, padding or transparent holes if needed, then save the preview. Finished stickers fit within 100 × 100 pixels.
- Select a saved item and send it from a supported composer. Successfully used GIFs or stickers can appear in Favorites. Removing a sticker from your library preserves copies already sent to a conversation or comment.
Story music and the shared library
Let members choose an excerpt from uploaded music or eligible Openverse discoveries, with independent music and original-video volume controls.
- Open Admin → Music at /admin/music. Set upload availability and the music size/duration limits.
- Install a usable ffprobe binary. Set MEDIA_FFPROBE_BINARY if it is not discoverable beside MEDIA_FFMPEG_BINARY or in standard locations.
- Enable Openverse discovery when desired. Optional OAuth credentials can raise authenticated service capability; anonymous discovery does not require a key.
- Run the normal migrations, queue worker and Laravel scheduler. Restart long-running workers after code/configuration changes.
- Test an uploaded track through processing, preview, excerpt selection and story publication. Check public discovery and private story-audience access separately.
The story Music picker has All music, Uploaded, Openverse and My uploads views. Only ready, visible and permitted tracks appear in discovery. My uploads includes the owner’s processing/failed items and recovery information. Uploaded tracks default to private and require explicit rights confirmation; public visibility permits discovery and reuse.
- Openverse discovery is restricted to eligible CC0 music and loops. It is not a catalog of commercial songs; broad terms such as music or piano are more useful.
- Selected Openverse media remains external. RevoGram stores its source/license metadata and streams from the original host rather than bulk-importing or mirroring the catalog.
- Uploads capture the global destination before queuing. Original audio and artwork retain separate exact storage configurations; cloud failures do not fall back to local files.
- Private tracks stay absent from other members’ libraries. Selecting a private track for a story authorizes only that story’s audience while the story remains visible.
- Removing a story does not remove a shared track. Disabling/removing a track creates an unavailable-audio state in stories that used it.
- Source/license metadata supports review; it is not independent proof of rights. Music reports use the existing moderation workflow.
php artisan music:backfill --jsonReview the dry-run report before using --execute. Backfill adopts only proven locations and usable durations into owner-private tracks; it does not move files or guess today’s cloud configuration for historical audio. The daily music:cleanup-uploads task removes abandoned temporary work and retries unreferenced-object cleanup without removing ready referenced tracks.
Weather, news and external data
Configure shared external-data cards while retaining source attribution, bounded requests and useful unavailable states.
| Source | Purpose and configuration |
|---|---|
| Open-Meteo | Weather forecasts, city search and air quality through the configured services.open_meteo endpoints. Forecast data is cached for 10 minutes. |
| Nominatim / OpenStreetMap | Optional device-coordinate city labels, with attribution and a configurable WEATHER_REVERSE_GEOCODING_URL. |
| Local GeoIP database | Approximate public-IP location when device coordinates are unavailable. |
| GDELT | News discovery; no API key required. Configure query, language, timespan, article count, refresh and transport. |
| football-data.org | Optional football scores; configure its encrypted server-side key, competitions and refresh limits. |
| CoinMarketCap | Optional crypto card; configure its encrypted server-side key, symbols, display currency and refresh limits. |
- Open Admin → Settings → News at /admin/settings?section=news.
- Enable and configure GDELT news. Choose the source transport supported by your deployment and use a focused query and appropriate shared refresh interval.
- For football or crypto, add the appropriate provider API key before enabling the card. Choose supported competitions or symbols and save.
- Verify ready, empty and upstream-unavailable states. Shared cached data reduces duplicate provider requests across visitors.
- On the Weather page, test permitted device location, denied permission/IP fallback and manual city search. Check source attribution and your chosen units.
Automatic weather prefers permitted device coordinates. A denied permission, missing location service, device error or unanswered prompt falls back to the request’s public IP. IP location may describe a VPN or network exit. If neither source resolves, the interface offers city search rather than an invented default location.
- If reverse geocoding fails, forecasts can still use coordinates with a coordinate label. Names are applied after forecast-cache lookup to prevent reuse of the wrong place name.
- News and market cards share provider caches. Cached headlines can remain available during an upstream outage.
- Football and crypto keys stay server-side and are masked in responses. Blank replacement fields preserve a saved credential; explicit removal disables its card.
- Provider plans and rate limits still apply even when the application card is enabled. External availability and current source data are outside the application’s control.
Administration & feature modules
Configure the network from the administrator workspace and expose the modules your community needs.
Sign in with an active administrator account and open /admin. Use Dashboard for an overview, Users for account administration, and System Status at /admin/system for deployment information. The admin navigation and search provide direct links to individual settings; administrative routes enforce the role on the server.
| Workspace | Location | Purpose |
|---|---|---|
| Settings | /admin/settings | General settings and service configuration |
| Users | /admin/users | Account management and staff roles |
| Modules | /admin/settings?section=modules | Enable or pause feature families |
| System Status | /admin/system | Inspect the system configuration |
| Moderation cabinet | /moderation | Moderator casework outside global administration |
- Open Admin → Settings → General and review the site name, tagline, description, and site currency.
- Open Settings → Modules and choose which feature families are available. Save the configuration, then check the member navigation.
- Use the dedicated Threads, Shoutbox, Blogs & Articles, Events & Ticketing, and Audio & Video Calls sections to configure each module after enabling it.
- Test the resulting access with a separate ordinary member account; an administrator view can expose additional controls.
- Available module families include groups, communities, Pages, events, people discovery, threads, Shoutbox, blogs/articles, clips, videos, photos, live, memories, marketplace, jobs, fundraisers, wallet, referrals, weather, bookmarks, Avatar Studio, and optional 3D posts.
- Calls have a separate settings section. A module switch does not provision its external service: calls/live and payment integrations still require their own configuration.
- Disabling new event activity preserves access to existing ticket obligations. Do not treat module switches as a data removal tool.
Edit the homepage and sign-in pages
RevoGram has separate editors for homepage layout and for the guest login and registration screens.
- Open
/admin/homepageto edit homepage navigation and widget placement. Select the layout and preview the result before publishing. - For an advertisement widget, edit the rich copy, apply supported text formatting and add emoji. Preview the result as an administrator, then publish when the widget is ready for its audience.
- Open
/admin/auth-pagesand select Login or Register. Apply a preset, adjust its copy or artwork, then save that page. You can customize the two pages independently. - Open the public guest pages in a signed-out window. Check the saved artwork, registration fields and layout at phone and desktop widths.
Generate and remove demo content
Use the administrator’s synthetic data tool to make a demonstration community with traceable generated records.
- Open Admin → Synthetic data at
/admin/synthetic-data. Select the generation mode and the size of the sample batch. - Choose local generation for built-in content. If using AI generation, configure the AI provider first. The tool checks its readiness and batch limits before it creates records.
- Generate a batch and inspect its sample accounts, activity and community spaces. Keep the batch identifier when you want to remove only that set later.
- Use the tool’s cleanup controls to remove the generated batch or all generated data. Records belonging to real members are preserved.
Activate your license and enable paid features
Use Admin → License to bind your purchase to the installation domain. The verified tier determines which monetization controls you can turn on.
- Set
APP_URLto the public URL of this installation. Open Admin → License and check that the displayed domain is the one you purchased the license for. - Enter your Kontackt license key or Envato purchase code. After verification, check the provider, tier and masked key on the same page.
- For a verified Extended license, enable the wallet module and choose the paid features you want to offer. A newly activated key starts with the paid feature switches off.
| What you want to offer | What to enable |
|---|---|
| Advertising | A Regular or Extended license permits advertising. Configure advertising for your site. |
| Paid posts and media, creator subscriptions, gifts | With an Extended license and the wallet module enabled, turn on the corresponding paid-feature switch. |
| Wallet transactions and withdrawals | Enable the Extended wallet transactions switch and configure the payment methods you intend to offer. |
| Donations and membership plans | Enable wallet transactions and the donations or membership plans switch on the Extended license. |
Branding, appearance & SEO
Set the visible identity of your network and control how public content is presented to search engines.
The configured site name is shared with headings, page titles, mail, and exported content. Set it in Admin → Settings → General. Admin → Settings → Appearance contains the logo, favicon, brand display mode, sizing, colors, first-visit theme, and active frontend theme.
- Open /admin/settings?section=appearance. Upload a logo and check the preview. Logos accept SVG, PNG, JPG, or WebP up to 2 MB.
- Upload a square PNG or WebP favicon between 32 and 512 pixels, up to 512 KB.
- Choose Logo and brand name, Brand name only, or Logo only. Adjust logo dimensions and brand text sizing; zero values use automatic sizing.
- Set the accent, success, and danger colors, choose the initial light/dark/system appearance, and save. Check both guest and member views at desktop and phone widths.
| Configuration | Admin location | Review |
|---|---|---|
| SEO | /admin/settings?section=seo | Title suffix, description, keywords, canonical URL, indexing, link following, social image and card type |
| Sitemaps | /admin/settings?section=sitemap | Enable XML sitemaps, select public content sources, and set URLs per file |
| Footer pages | /admin/footer-pages | Manage informational pages and their public content |
The sitemap index is /sitemap.xml, with numbered source files under /sitemaps/. The robots.txt response advertises it when indexing and sitemaps are enabled. Sources include static pages, eligible profiles, posts, blogs, groups, communities, Pages, jobs, and marketplace listings. Disabled modules are excluded.
Registration, login & OAuth
Choose how people join, recover access, and sign in using passwords, passkeys, or configured identity providers.
| Settings section | Location | Controls |
|---|---|---|
| Access | /admin/settings?section=access | Guest access and read-only controls |
| Registration | /admin/settings?section=registration | Registration, confirmation, phone/username collection and referral requirement |
| Login Security | /admin/settings?section=login-security | Password rules, login attempts, inactivity, two-factor authentication and passkeys |
| Security | /admin/settings?section=security | CAPTCHA provider and protected public forms |
| OAuth Sign-In | /admin/settings?section=oauth | Apple, Google, X, and VK credentials and callback URLs |
- Configure email delivery and, when required, SMS/OTP before requiring registration confirmation or recovery by those channels.
- Choose the registration and login policies, save them, and exercise registration, login, logout, and recovery in a separate browser session.
- For OAuth, create a web application with the selected provider and copy the Authorized callback URL displayed for that provider in Admin. Enter the matching client ID and secret, then enable that provider.
- For CAPTCHA, choose Simple PHP CAPTCHA, Google reCAPTCHA v2, or Cloudflare Turnstile. Configure the matching public/secret key pair for external providers and select which login, registration, and recovery forms require verification.
OAuth buttons are available only when their provider is enabled and both client ID and secret are configured. Copy the generated callback URL rather than guessing its path. X requires an OAuth 2.0 application with user email access; the Google option uses a Google OAuth 2.0 web application.
Passkey enrollment and login are controlled in Login Security. The screen shows the website origin and relying-party configuration. Keep these stable so existing credentials continue to work. Members enroll passkeys from Security & Login; managing credentials requires a recent password confirmation. Turning passkeys off preserves enrolled credentials while pausing their use.
Account security, privacy & data
Give members clear control over their identity, visibility, interactions, and account information.
| Member area | Location | Use |
|---|---|---|
| Personal details | /settings/personal-details | Name, username, biography, profile and cover image |
| Account | /settings/account | Contact details and recovery information |
| Privacy | /settings/privacy | Profile, post, story and search visibility |
| Audience | /settings/audience | Followers, comments, mentions, sharing and recommendations |
| Timeline and tagging | /settings/timeline | Who can add or tag content and review controls |
| Security | /settings/security | Sessions, login activity and security review |
| Password & two-factor | /settings/password-2fa | Password and authenticator setup |
| Blocking | /settings/blocking | Blocked, muted and snoozed accounts |
| Data | /settings/data | Exports, deactivation and deletion requests |
- Review Privacy and Audience before publishing. Choose who may discover the account and interact with future content.
- Use Messaging settings at /settings/messaging to select message permissions, read receipts, typing, last-seen and online-status audiences.
- Review active sessions in Security. Revoke devices that should no longer have access, then enroll two-factor authentication when enabled by the administrator.
- Use Data to request a protected account export or manage account ownership requests. Sensitive actions require confirmation.
A full profile block removes friendship/follow relationships and pending invitations, and enforces bilateral visibility and interaction restrictions. A separate Block messages and calls control preserves the profile connection while preventing direct contact. Members can remove only their own block; the other person’s block can continue to apply. Unblocking does not restore removed friendships or follows.
Full blocks do not replace group or room moderation. Existing financial records, paid periods, refunds, tickets, and moderation cases retain their own access rules. Public content may still be available without authentication under the site’s public-access policy.
Moderation, sanctions & appeals
Review reports through assigned cases, maintain an audit trail, and apply account restrictions with clear staff boundaries.
Administrators review the workspace at /admin/moderation. Moderators use /moderation, with case queues, sanctions they issued, and their own activity. Assign the Moderator role through Admin → Users. Report actions are available for eligible visible resources; members cannot report their own content.
| Role | Allowed work |
|---|---|
| Member | Submit reports, view personal sanctions, and appeal a sanction once |
| Moderator | View unassigned or personally assigned summaries, self-claim cases, review assigned evidence, dismiss/resolve cases, hide reported posts and issue limited non-staff sanctions |
| Administrator | Assign/review all cases, manage reasons, issue/revoke all sanctions, and review eligible appeals |
- Configure active report reasons and resource scopes in the administrator moderation workspace.
- Filter the queue and assign or claim an open case before reviewing its private evidence.
- Review reports, evidence and history, then record an internal note and decision. Case states include open, reviewing, actioned, dismissed, and resolved.
- Use warnings or posting/commenting/messaging restrictions when proportionate. Moderator-issued restrictions are limited to 30 days and non-staff case subjects.
- Review appeals as an eligible administrator. The person who issued a sanction cannot uphold or reverse its appeal.
Sanctions enforce actual server-side access: restrictions block the corresponding writes, temporary suspensions deny normal authenticated use, and bans require administrator revocation. Sanctioned users may receive access only to their own appeal path and logout. A sanction’s expiry is checked at request time.
- Private-message evidence contains a snapshot of the reported message, not arbitrary surrounding conversations.
- Assigned-case access does not grant staff general access to private drafts or conversations.
- Case actions are audited. Internal appeal notes stay in staff APIs; reporter notifications do not reveal other reporters.
- The case workspace hides reported posts; it does not promise reversible removal for every resource type. Other resource cases can be resolved or addressed with account sanctions.
Support tickets & troubleshooting reports
Provide a real support queue and collect the information needed to reproduce an issue safely.
Members open Help & Support at /settings/help. The page provides searchable help topics and a support form with category, subject, and message. Submitted requests are stored in the application’s support-ticket system and show a reference, status, update time, and administrator response.
- Choose an appropriate category, enter a subject of 5–160 characters, and describe the issue in 20–5,000 characters. Submit the request and retain its reference.
- Administrators open /admin/tickets, filter by search, status or category, then select a ticket to read the request.
- Write a response and move the ticket through Open, In progress, Resolved, or Closed. Review the saved response and status.
- Where response email is requested, inspect the delivery result. A failed or disabled email does not mean the saved ticket response was lost.
- Include the affected page URL, approximate time and timezone, browser/device, and the member role used.
- List exact reproduction steps, expected behavior, actual behavior, and whether it affects one account or multiple accounts.
- For deployment issues, include the installed release, recent changes, relevant System Status information, and a small sanitized error excerpt.
- For uploads, include file type, approximate size, storage provider, and whether the problem occurs during upload or playback.
- For realtime/calls, include whether messages, notifications, or calls are affected and whether reconnecting changes the result.
Use a content report for abusive or unsafe material rather than a general support ticket when a report action is available. Use /appeals for an eligible sanction appeal. The ticket system is a product support queue; it does not replace moderation assignment and evidence controls.
Languages, translations & regional formats
Enable the languages you want to offer and review missing translations without confusing coverage with language quality.
Admin → Languages at /admin/languages requires the administrator role. The installed catalog provides locale codes, display names and text direction. Coverage varies by language; a listed locale is not a promise that every interface phrase is fully translated or professionally reviewed.
- Choose the website default from enabled, installed languages. Existing explicit member choices remain intact.
- Enable or disable locales to control public language selectors. Change the default before disabling it; the last enabled language cannot be disabled.
- Select a locale in the translation editor. Search source or target text, filter missing or translated entries, and edit the selected phrase.
- Preserve placeholders such as {siteName}, {name}, :attribute, and %s. Review long labels, plural forms, errors, dates, and right-to-left layouts before enabling a language widely.
| Editor action | Effect |
|---|---|
| Clear translation | Marks the selected locale value missing and uses the source fallback |
| Reset to installed translation | Removes the override and restores the bundled value |
| Rename source key | Carries stored translations but also requires code callers to be changed |
| Delete key | Removes the active key and overrides globally; source callers can still show their fallback |
Missing native phrases fall back through the English administrator override, English bundle, and source key. The supplied-key percentage measures coverage, not translation quality. Member text, account names, configured branding, editor content, filenames, and internal identifiers should remain opaque to UI translation. Date/number formatting also respects each member’s region, timezone, date order, clock and separator preferences.
npm run i18n:check -- --report /tmp/localization-source-audit.json
npm run i18n:audit -- --all --output=/tmp/localization-all-packs-audit.json
npm run i18n:test
npm run i18n:versionIf you operate the interface translation worker, check its job status and saved progress before starting another process. A worker run produces drafts. Review held entries and preserve placeholders before publishing approved translations and refreshing the language source version.
Frontend themes & source customization
Customize a complete frontend while keeping PHP, media, translations and application services shared.
Default is the only installed theme in the supplied source. Each directory below resources/themes is an independently compiled React frontend with its own pages, layouts, components, hooks, types and CSS. Backend PHP, API routes, translations, uploaded media and package dependencies remain shared.
- Copy resources/themes/default to resources/themes/your-theme.
- Change the id, name, and version in the copied manifest.json. Keep the theme ID consistent with its directory.
- Customize the copied js and css source directories. Retain application permissions, localization boundaries, and the existing API contracts.
- Build the theme, inspect guest/member/admin views in both appearances and at narrow widths, then select it in Admin → Settings → Appearance.
npm run build
# Or compile one installed theme:
npm run build:theme -- your-theme| Output | Location |
|---|---|
| Browser assets | public/build/themes/<theme> |
| Server-rendered bundle | bootstrap/ssr/themes/<theme> |
| Authored source | resources/themes/<theme>/js and css |
REVOGRAM_THEME=your-theme php artisan inertia:start-ssrThe current default React theme uses Mantine components for forms, dialogs, menus and feedback. When customizing a component in a copied theme, check keyboard navigation, touch input, both color schemes and text direction. Test nested dialogs with Escape and verify focus returns to the trigger.
Installing & developing extensions
Add scoped services, routes and interface elements through the extension system without patching the core.
Use Admin → Extensions at /admin/extensions or the extension:manage Artisan command. An extension package is a ZIP with extension.json at its root, optionally inside one containing folder. The manifest identifies the extension, semantic version, PHP/core compatibility, provider, declared permissions, assets, and optional migrations. A reference package is available at extensions/.example/hello-extension/.
- Review the author, source code, compatibility requirements, and declared permissions before installing a package. Extensions run trusted PHP with application privileges.
- Install the ZIP. New installations and updates remain disabled until explicitly enabled.
- Enable it to apply its unrecorded migrations and expose its declared routes, navigation, and assets. Check its user and administrator pages.
- Disable an extension before updating, rolling back, or uninstalling. Restart persistent PHP workers after PHP code changes.
php artisan extension:manage list
php artisan extension:manage install /path/to/hello-extension.zip
php artisan extension:manage enable hello-extension
php artisan extension:manage disable hello-extension
php artisan extension:manage install /path/to/hello-extension-1.1.0.zip --update
php artisan extension:manage rollback hello-extensionPublic extension routes are scoped below /extensions/{id}; API routes below /api/v1/extensions/{id}; administrator routes below /admin/extensions/{id}. Core helpers attach authentication, active-account, enabled-extension, and administrator checks as appropriate. Frontend mounts can use site.main.before/after, admin.main.before/after, and page:{id}:{page}, with cleanup functions for listeners and timers.
Disabled extensions preserve data and stop serving their assets/navigation. Uninstall also preserves data unless the package declares complete cleanup. A cleanup declaration may permanently delete extension-owned tables and storage; the administrator confirmation discloses this. Failed or interrupted removal remains disabled and retryable.
Publish a Games catalog
- Install and enable the optional Games extension in Admin → Extensions. Open Manage games and select Import games to fetch catalog entries from GameMonetize. Imported games start as drafts.
- Preview the drafts and publish the games you want members to see. Members can browse the published catalog, keep favorites and return to recently played games. A game starts when a member selects Play.
- Enable daily synchronization in the extension settings if you want fresh imports. The normal application scheduler checks for a due import. Staff can review new drafts before publishing them.
RevoGram ships Demo mode 1.1.0 and Games 2.0.6 as optional extension ZIPs. See [Demo mode](#demo-mode-extension) for its configuration and cleanup behavior.
Configure the Demo mode extension
Let visitors try the site's appearance and let members browse a sample admin panel.
Open Admin → Extensions and install demo-mode-1.1.0.zip from the release’s extension-packages folder. Enable Demo mode, then select Manage. Both previews start disabled and signup credit starts at zero.
| Setting | What it changes |
|---|---|
| Read-only admin preview | Signed-in active members can open the admin layout with sample data. Live administrative actions remain limited to the Demo mode owner and staff on the allowlist, subject to their existing permissions. |
| Staff allowlist | Search by name or username and select active administrators and moderators. The administrator who first saves Demo mode settings owns them. |
| Appearance previews | The drawer offers login and registration previews and the installed themes. Selections stay in the current browser session. |
| Signup demo credit | A verified Extended License and enabled Wallet are required. The credit is a separate display balance and cannot fund transactions. Set the amount to zero to stop new grants. |
Open the API reference for your installation
RevoGram includes an OpenAPI 3.1 reference with an interactive Swagger UI. Generate the reference from your installation so it includes its registered routes and enabled extensions.
- Run the following commands from the application directory as the deployment user after migrations and extension setup.
- Sign in with a confirmed, active administrator account on production or staging and open
/api/documentation. Use/api/openapi.jsonfrom the same authenticated session to read the schema. - Use a test installation and test account when trying a write operation in Swagger UI. The request acts on the selected account and can change its data.
php artisan api:document
php artisan api:document --check| What you see | What to check |
|---|---|
| The schema returns 503 | Generate it with php artisan api:document. Confirm the application user can read storage/app/private/openapi.json. |
| You cannot open the reference | Check API_DOCUMENTATION_ENABLED, refresh the deployment’s configuration cache if you changed the setting, and verify the account’s role and registration status. |
| An endpoint added by an extension is missing | Enable the extension on the intended installation, regenerate the reference and run the check again. |
Connect a mobile or desktop client
Mobile and desktop clients use the same /api/v1 resources as the website. Each native sign-in creates a device session that the member can revoke independently.
- Read
/api/v1/auth/optionsto discover the installation’s sign-in policy. SendX-API-Client: mobileorX-API-Client: desktopon public requests and follow the configured CAPTCHA flow when required. - Submit the supported identifier and password to
POST /api/v1/auth/token, includingdevice_nameandplatform. If the API returns a second-factor challenge, complete it atPOST /api/v1/auth/token/challengebefore continuing. - Store the returned access and refresh credentials in the operating system’s protected credential store. Send the access token in the Authorization Bearer header when requesting the installation’s API.
- Load
GET /api/v1/bootstrapfor the current account’s site settings, enabled modules, localization and realtime configuration. Use those values to decide which controls to display.
| Device action | API behavior |
|---|---|
| Renew access | Send one POST /api/v1/auth/token/refresh at a time per device. Save the replacement pair together. If a refresh response is lost, ask the member to sign in again. Reusing the previous refresh credential revokes that device session. |
| Manage devices | Use GET /api/v1/auth/devices for the member’s list. Use DELETE /api/v1/auth/devices/{device} to revoke one of their devices. |
| Sign out | Use DELETE /api/v1/auth/token to revoke the current device session. Clear local credentials and account-specific cached data. |
Updates & backups
Back up persistent data, stage the new release, apply its schema changes, and restart long-running processes so every service runs the same code.
- Back up the database, the private .env configuration and APP_KEY, local uploads, private media, exports or recordings stored locally, and extension packages/configuration/backups.
- For cloud media, keep object storage retention/versioning or a separate provider-aware backup. A database-only backup does not contain uploaded files.
- Retain each historically used storage provider’s bucket/container, endpoint, credentials, and files while those files are still referenced. A change of the upload default does not migrate old files.
- Keep a copy of the last working application release and compiled assets. Record any custom theme and extension changes before replacing core files.
- Restore a test copy periodically so database references, media files, application keys, and provider settings are verified together.
- Read the release notes and stage the new files outside the active document root. Test them against a separate test database and copied storage configuration.
- Back up the active database, persistent files, and configuration. Enter maintenance mode for an in-place update when needed.
- Prepare the release’s dependencies and compiled assets. Preserve .env, APP_KEY, persistent storage, and any configured extension directories. Set APP_VERSION=1.2.0 in your existing .env.
- Stage new hashed frontend files while keeping previous chunks available for open browser tabs. Apply the release migrations before directing traffic to the updated application.
- Clear stale application caches, restart long-running queue/WebSocket/SSR processes, and resume the site.
- Confirm login, feeds, upload and authorized media delivery, payments in test mode, scheduler status, and the optional integrations you have configured.
composer check-platform-reqs --no-dev
# Update APP_VERSION in the preserved .env before activating the release.
php artisan migrate --force
php artisan optimize:clear
php artisan queue:restartphp artisan down
# Apply the prepared update and complete its checks.
php artisan upTroubleshooting
Start with the failing layer: application, assets, database, media delivery, scheduled jobs, or an optional external service.
| Symptom | What to check |
|---|---|
| 500 error / blank page | Check your private application and PHP-FPM logs, the supported PHP version/extensions, the database connection, APP_KEY, and runtime write permissions. Keep APP_DEBUG=false on a public site. |
| Frontend assets missing | Confirm the selected theme’s hashed assets and matching manifest are present under public/build/themes/<theme>. A public-root host serves /build/ from that directory. On a fixed application-root host, check that the project-root Nginx or Apache rules direct asset requests into public/. If the compiled files are missing, rebuild with the release’s locked dependencies. |
| Login/session or CSRF failures | Confirm APP_URL matches the public HTTPS origin, cookies are configured for the deployed domain, SESSION_SECURE_COOKIE matches HTTPS, the session database table exists, and the application key was preserved. |
| Protected local media is blank or inaccessible | Check the media delivery setting against the active server layout. With the project-root Nginx include and acceleration enabled, verify the two internal media mappings and Nginx’s read access. With the supplied public-root Nginx template or Apache, set MEDIA_NGINX_ACCEL_REDIRECT=false, clear cached configuration and check PHP-FPM’s read access. |
| Legacy /uploads URLs return 403 | Confirm the member has permission to view the file. For protected legacy uploads, the project-root Nginx include rewrites to /public/index.php. The public-root Nginx template and Apache’s public/.htaccess pass the request to index.php in the public directory. |
| Video thumbnails/optimization absent | Check executable FFmpeg/FFprobe paths and PHP process support. Originals remain a fallback when derivative generation is unavailable. Use the media inspection/repair commands only after reviewing their help and dry-run output. |
| Stories or scheduled posts do not update | Check that the runtime user’s minute cron invokes schedule:run with the correct PHP binary and project directory. Inspect php artisan schedule:list. |
| WebSocket status does not connect | For a 404 on /realtime/app/…, check that the WebSocket proxy is active on the HTTPS virtual host. For a 502, check the loopback Reverb listener and /up health check. If the browser upgrades to 101 but updates never arrive, verify private channel authorization, the broadcast worker and the dedicated Redis connection. |
| Live Studio says streaming is not configured | Confirm LIVEKIT_ENABLED=true, a secure browser URL and matching API credentials in the server’s .env. Run php artisan config:clear as the PHP runtime user. |
| Live Studio creates a session but viewers cannot connect | Room creation tests only the private LiveKit API. Check the public browser URL separately. A 404 under /livekit/rtc on a self-hosted site points to the HTTPS routing or proxy prefix. If signaling works but video or audio does not arrive, check ICE and TURN connectivity. |
| Remote link previews remain pending | Check the dedicated link-previews worker and its realtime Redis queue. The default sync queue does not consume this explicit queue. A blocked remote site can still remain an ordinary link. |
| Old cloud media breaks after provider change | Restore the old provider’s settings and delivery route. Each object keeps its provider identity; changing the upload default does not move historical objects. |
| Changes appear stale after update | Clear stale caches, ensure frontend files match the active manifest/theme, and restart long-running workers, the WebSocket server, and any optional SSR process. |
Troubleshoot Reverb startup and delivery
Troubleshoot LiveKit signaling and media
cd /path/to/project
composer check-platform-reqs --no-dev
php artisan migrate:status
php artisan schedule:list
php artisan queue:failed
php artisan optimize:clearMaintenance commands
Use the application’s own audit and repair commands to inspect migrations, media, feeds, and optional services. Read each command’s help before running a write operation.
php artisan list
php artisan help media:backfill-locations
php artisan help media:migrate-protected
php artisan help media:repair-video-thumbnails
php artisan help extension:manage| Command | Behavior |
|---|---|
| media:audit-legacy | Read-only inventory of registered, unregistered, and missing local media; --examples controls sample paths. |
| media:backfill-locations --json | Read-only provider-location audit. Add --execute only after reviewing results; registers evidence-backed locations without moving or deleting files. |
| media:migrate-protected --batch=100 | Dry run for known restricted legacy media. --execute copies verified files into private storage and switches references; originals are retained. |
| media:optimize-existing | Generates missing derivatives and protected-content previews. --premium-only and --subscriber-only narrow the work. This writes derivative files and metadata. |
| media:backfill-metadata | Writes missing dimensions, aspect ratio, and applicable video duration for existing media. |
| media:repair-video-thumbnails | Inspects or repairs missing, unreadable, or black video/short covers while preserving custom thumbnails; inspect help for the available execution options. |
| livekit:repair-replay-thumbnails | Inspects or repairs covers for completed live replays; review options before executing repairs. |
| music:backfill --json | Audits eligible uploaded audio. --execute saves evidence-backed private owner tracks without guessing historical cloud destinations. |
| feeds:sync-publications --backfill | Links native publications to feed announcements while preserving original dates and suppressing publication hints. |
| moderation:link-existing-reports | Previews existing report-to-case links. --execute creates links without changing report rows. |
| posts:publish-birthdays --dry-run | Counts candidates without publishing. The ordinary scheduled command publishes due birthday posts. |
| profile-visits:prune | Removes profile visits beyond the 90-day retention period. |
| user-plans:seed-drafts | Creates editable membership examples as drafts; does not publish offers or change existing plans. |
| livekit:reconcile | Reconciles live sessions/recordings after missed delivery or interruptions. |
| realtime:prune-presence | Cleans expired real-time connection leases. |
| realtime:schedule-notifications | Schedules future existing notifications for real-time delivery; also useful when restoring future-delivery work after dedicated queue data loss. |
| extension:manage list | Lists installed extensions. Other supported actions include install, enable, disable, rollback, and uninstall. |
| extension:schedule-run | Runs due tasks belonging to enabled extensions. |
| user-storage:reconcile --json | Preview ownership and size reconciliation. Add --user=ID to inspect one account. |
| media:sync-video-albums --json | Inspect video assignments to their system albums. Add --id=ID to narrow the audit. |
| Command | Purpose |
|---|---|
php artisan help live-gifts:import | Inspect the bulk gift importer and its filename-to-price option. Imported gifts without a configured price remain disabled. |
php artisan localization:translate --dry-run | Inspect local translation work. The execution mode writes drafts for review using the configured local model. Publishing translations is a separate administrative action. |
Use these docs offline
The complete documentation is a standalone folder. You can read it without a server, Node.js or an internet connection.
- Download the documentation ZIP and extract it while preserving the docs folder structure.
- Open docs/index.html in your browser. The stylesheet, fonts, branding, scripts, search index and reference pages are bundled inside that same folder.
- Use the sidebar to browse guides, the feature reference and the changelog. Search and theme switching run locally; links marked as website or provider destinations require a connection.
- Move or rename the extracted folder if you like. Keep its internal files together, and open index.html from the new location.
| Included path | Purpose |
|---|---|
| index.html | Installation, configuration, operations and product guides. |
| features.html | The complete local feature reference. |
| changelog.html | Individual recorded changes and version history. |
| assets/ | Compiled Tailwind CSS, the documentation stylesheet, fonts, favicon, scripts and local search data. |
| content/ | Editable guide and reference data. |
| build.py | Optional dependency-free Python builder for regenerating the HTML and local search index. |
cd /path/to/docs
python3 build.pyAll rendered assets are included. Regenerating HTML does not require a CSS build; styles remain editable in assets/docs.css. The bundled assets/tailwind.css is ready to use.