Signed-off-by: Jacob Schlecht <dadadah@echoha.us> |
||
|---|---|---|
| .github | ||
| .mise | ||
| .vscode | ||
| assets@bd432f2298 | ||
| src | ||
| .eslintrc.json | ||
| .gitignore | ||
| .gitmodules | ||
| .prettierrc | ||
| .release-please-manifest.json | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| chat.stoat.StoatDesktop.desktop | ||
| chat.stoat.StoatDesktop.metainfo.xml | ||
| default.nix | ||
| forge.config.ts | ||
| forge.env.d.ts | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| release-please-config.json | ||
| screenshot.png | ||
| strings.ts | ||
| tsconfig.json | ||
| vite.main.config.ts | ||
| vite.preload.config.ts | ||
| vite.renderer.config.ts | ||
README.md
Installation
- All downloads and instructions for Stoat can be found on our Website.
Development Guide
Contribution guidelines for Desktop app TBA!
Before getting started, you'll want to install:
Then proceed to setup:
# clone the repository
git clone --recursive https://github.com/stoatchat/for-desktop stoat-for-desktop
cd stoat-for-desktop
# Install tools from mise
mise install
# install all packages
mise install:frozen
# start the application
mise dev
# ... or build the bundle
mise build
# ... or build all distributables
mise make
Various useful commands for development testing:
# connect to the development server
mise exec -- pnpm start -- --force-server http://localhost:5173
# test the flatpak (after `make`)
mise exec -- pnpm install:flatpak
mise exec -- pnpm run:flatpak
# ... also connect to dev server like so:
mise exec -- pnpm run:flatpak --force-server http://localhost:5173
# Nix-specific instructions for testing
pnpm package
pnpm run:nix
# ... as before:
pnpm run:nix --force-server=http://localhost:5173
# a better solution would be telling
# Electron Forge where system Electron is
Pulling in Stoat's assets
If you want to pull in Stoat brand assets after pulling, run the following:
# update the assets
mise assets
Currently, this is required to build, any forks are expected to provide their own assets.