- PHP 56.5%
- JavaScript 28.7%
- CSS 14.7%
- Shell 0.1%
| assets | ||
| public | ||
| src | ||
| vegvisir | ||
| .gitignore | ||
| .gitmodules | ||
| composer.json | ||
| composer.lock | ||
| install.sh | ||
| LICENSE | ||
| README.md | ||
Chat
A Vegvisir-based one-to-one chat application with SQLite-backed messages, image attachments, profiles, and shared custom image emojis.
First Run
Open the application in your browser and navigate to /install first.
The install page checks whether the SQLite database exists, whether the schema is current, and whether the application can write to it. Press the install button on that page to create or update the database before using the rest of the app.
After installation, return to / to choose the active user, then continue to /chat.
Local Setup
Install PHP dependencies:
composer install
The web installer at /install is the preferred setup path. For a fresh command-line reset, you can also run:
./install.sh
That script recreates .chat.db, so it removes local messages, attachments, custom emojis, and profile changes.
Application Pages
/installcreates or updates the local SQLite database./selects the current user for this browser./chatopens the conversation./profileedits the selected user's name, biography, and profile picture./contactshows the receiving user's profile.
Data Storage
The application stores data in .chat.db in the workspace root. Image attachments, profile pictures, and custom emojis are stored directly in SQLite as base64 data.