Skip to content

Instantly share code, notes, and snippets.

View ashymee's full-sized avatar
🎯
NullSafety

Aswin Himawan ashymee

🎯
NullSafety
View GitHub Profile
@ashymee
ashymee / jashtawk-realtime-architecture.md
Created August 7, 2025 20:09
Realtime Message Architecture in Jashtawk

Real-time Messaging in Jashtawk (Convex.dev Architecture)

🧩 Overview

Jashtawk is a multilingual, voice-enabled chat application built with Bun, React, TypeScript, and Convex.dev. All messages are synced in real-time using Convex’s backend-as-a-service architecture and reactive queries.

📡 Message Flow

  1. User sends a message from the chat UI.
  2. Frontend calls a Convex mutation sendMessage() with the message content, user ID, and conversation ID.
  3. Message is persisted to Convex DB under messages table, associated with a conversation.
  4. All participants subscribed via useQuery('getMessages', {conversationId}) automatically receive updates in real-time.
@ashymee
ashymee / README.md
Created April 7, 2020 14:58 — forked from joseluisq/README.md
Install PHP 7 Xdebug in Arch Linux

Install PHP 7 Xdebug in Arch Linux

"Normally", these instructions should be also valid (in similar way) for other Linux distros.

1.- Install Xdebug using pacman:

sudo pacman -Sy xdebug
@ashymee
ashymee / index.php
Created January 13, 2020 12:56
test
<?php
phpinfo();