Leakd
Photo and video sharing app that comes with Oxide Phone — posts, stories, reels, Direct chats, going live, notifications, police evidence and moderation.
oxide-leakd is Leakd, a photo and video sharing app for Oxide Phone. It comes with Oxide Phone, as its own download in your Cfx Portal assets, and needs oxide-phone to run: it runs as its own resource and appears inside the phone as a hosted app. Players post photos and videos, put up stories for a day, scroll reels, follow each other, chat in Direct and go live with the phone's camera.
Leakd uses the phone's own app accounts, photo storage, camera, location, live streams, links and evidence. Photos and videos are kept in the photo storage you set up for the phone. With no phone installed it registers nothing and stays idle.
A post holds up to 10 photos or one video, and stories last 24 hours. Leakd runs on QBCore, QBX and ESX through o-link.
Key Features
- Home — A row of stories, then posts from people you follow, newest first with a light boost for popular ones. A post is up to 10 photos or one video, shown as a carousel. Double tap to like, comment, share to a chat or the phone's share sheet, and save. Captions have tappable @mentions and #hashtags, parsed into safe tokens
- Stories — A photo or video for 24 hours, watched full screen with tap, hold and progress bars. Coloured rings show what you have not seen. Your own stories show who watched them, and a reply goes to Direct
- Reels — Video posts one screen at a time
- Search — An explore grid of popular posts, search for accounts and hashtags, and hashtag pages
- Profile — Photo, name, bio and counts, a grid of posts, reels and posts you are tagged in, and your saved posts. Edit your profile, see followers and following, make the account private so new followers must send a follow request to be approved, and block accounts. Blocks hide content, comments, likes and tags both ways
- Activity — Likes, comments, mentions, follows and follow requests
- Direct — One-to-one chats with text, photos, shared posts and story replies, read receipts and live updates
- Live — Go live with the phone's camera, through the phone's live streams. Followers are told, viewers anywhere on the map watch, comment and send hearts, and everyone sees the viewer count. A private account's lives are for its approved followers, and an admission check keeps blocked, banned and unapproved viewers out
- Verified — A blue check next to verified names everywhere, given by admins
- Notifications — Likes, comments, follows, mentions, messages and lives arrive as phone notifications, delivered only to the phone logged in to the account, with repeat alerts held back. They open the right screen, follow the phone's preview settings and clear once seen
- Evidence — Posts, edits, deletes, comments, likes, follows, messages, stories and live comments are kept on the phone as evidence records for police Forensics, and the phone records lives itself. A phone police hold opens Leakd read only
- Moderation — Players report posts, comments, stories and accounts. Admins remove content, ban and unban accounts, end lives and give the verified badge, in the app or with
/leakd. Every action is written tooxide_leakd_admin_logand the server log
Requirements
Required
| Resource | Purpose |
|---|---|
oxide-phone | Hosts the app and provides its accounts, photos and videos, camera, live streams, links, notifications and evidence |
o-link (1.11.0 or newer) | Framework abstraction, the phone's app services (olink.phone.AppService), notifications and logging |
ox_lib | Locales and shared utilities |
oxmysql | Profiles, posts, stories, follows, messages and moderation |
See the Installation Guide for the full setup.
Database
oxide_leakd_profiles, oxide_leakd_posts, oxide_leakd_media, oxide_leakd_tags, oxide_leakd_mentions, oxide_leakd_likes, oxide_leakd_saves, oxide_leakd_comments, oxide_leakd_follows, oxide_leakd_blocks, oxide_leakd_stories, oxide_leakd_story_views, oxide_leakd_threads, oxide_leakd_messages, oxide_leakd_activity, oxide_leakd_lives, oxide_leakd_reports, oxide_leakd_bans, oxide_leakd_admin_log and oxide_leakd_migrations, created automatically at start from sql/migrations/.
Frontend
Vue 3 + Vite + TypeScript, shown inside the phone.
Documentation
Admin
Moderating Hookr — who counts as an admin, the Moderation screen in the app, the /hookr command and where every action is logged.
Features
How Leakd works for players — accounts, the home feed, posting, stories, reels, search, profiles, private accounts, blocking, activity, Direct, going live, the verified badge, notifications and police evidence.