Skip to content

feat(vibez): server-backed short-video app with live streaming + admin moderation - #55

Merged
Github-Samuel merged 2 commits into
mainfrom
feat/vibez-app
Jul 21, 2026
Merged

Github-Samuel merged 2 commits into
mainfrom
feat/vibez-app

Conversation

@Epixx1337

Copy link
Copy Markdown
Collaborator

Summary

Replaces the mock-data Vibez demo with a fully server-backed short-video app, following the photogram architecture:

  • Server (server/vibez/): 8 phone_vibez_* tables (profiles, posts, likes, saves, comments, comment likes, follows, notifications) with idempotent schema bootstrap; authoritative actions for feed (For You / Following), discover (view-ranked + hashtag trends mined from captions), create/delete, likes/saves/views, comments, mentions, follows, activity, profile editing and account wipe; in-memory live-streaming module (host media relay, viewers, ephemeral comments, hearts) mirroring photogram live.
  • Client (client/apps/vibez.lua): NUI callback proxy, latent live frame/chunk relays, 1:1 push-event relays.
  • Web (web/src/apps/vibez/): real API layer replacing seed data; swipe-snap video feed with autoplay, double-tap like, comments sheet, discover search + trends, inbox with follow-back and unread badge, own/other profiles with liked/saved grids and edit sheet, upload flow (gallery picker, record-with-camera hand-off that auto-reopens Vibez with the recorded clip preloaded, go LIVE), LIVE host/viewer.
  • Rebrand: new violet/pink pulse-wave icon and accent giving the app its own distinct identity.
  • Admin panel: Vibez content browser (list/search/delete) via the generic ContentPage, new vibez mute scope enforced on posting/commenting.
  • Badges: vibez unseen-notification count in the home-screen badge snapshot.
  • web/src/apps/photogram/live/liveMedia.ts moved to web/src/shared/liveMedia.ts (now shared by both apps); rebuilt web/build included.

Media uses the existing Fivemanage pipeline (hosted URLs only, no blobs). Accounts ride the shared accounts engine, where vibez was already registered.

Type of Change

  • Bug Fix
  • New Feature
  • Improvement / Refactor
  • Performance
  • Documentation
  • Compatibility
  • Other

Related Issues

None.

Testing

Tested on a local dev server (HLRP): account creation/login, posting from gallery, record-with-camera round trip, likes/comments/follows with live count fan-out, discover trends + search, inbox notifications + badge, profile editing, post deletion, admin panel browsing/deleting and mute scope. tsc, ESLint and vitest (73 tests) all pass; browser dev mode keeps working via seed data.

  • Tested locally
  • Tested with latest sd-phone
  • Tested with latest ox_lib
  • Tested with latest ox_inventory
  • Multiplayer tested

Breaking Changes

None. New tables are created automatically on first boot; the badges payload gains an additive vibez key; no existing tables or callbacks change.


Checklist

  • My code follows the existing style of the project.
  • I have tested my changes.
  • I have updated any necessary documentation.
  • I have removed any debug code.
  • This PR does not include unrelated changes.
  • I have verified this works on the latest version of sd-phone.

Epixx1337 and others added 2 commits July 20, 2026 18:12
…n moderation

- server/vibez: profiles/posts/likes/saves/comments/follows/notifications schema,
  authoritative actions (feed, discover, create, views, mentions, mute guard),
  in-memory live-streaming module (photogram-live pattern)
- client/apps/vibez.lua: NUI proxy + live latent relays + push events
- web: real data layer replacing the mock demo; For You/Following feed, comments
  sheet, discover search + trending hashtags, inbox with follow-back, profiles
  with liked/saved grids, gallery upload + record-with-camera round trip that
  auto-reopens the compose step, LIVE host/viewer, post delete
- rebrand: new violet-pink pulse-wave icon and accent
- admin panel: Vibez content browser + delete adapter + mute scope
- badges: vibez unseen-notification count on the home icon
- shared: liveMedia.ts moved from photogram/live to shared/ (used by both apps)
- includes rebuilt web/build bundle
Unions the badge engine (vibez + birdy), keeps main's character-load
session anchor, re-untracks web/build per the release model, and adds
vibez to SERVER_BADGE_APPS alongside its server-authoritative peers.
@Github-Samuel
Github-Samuel merged commit c5654af into main Jul 21, 2026
1 check passed
@Github-Samuel
Github-Samuel deleted the feat/vibez-app branch July 21, 2026 17:16
Github-Samuel pushed a commit that referenced this pull request Sep 15, 2026
…n moderation (#55)

Vibez short-video app: server-backed feed, accounts through the shared accounts engine, live streaming, and admin moderation tooling. Branch was merged with current main before landing: badge engine unions vibez with birdy, web/build stays untracked per the release model, and vibez joins SERVER_BADGE_APPS with the other server-authoritative badge apps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants