Skip to content

fifthtry-community/lets-talk

Repository files navigation

lets-talk

An online video chat application in fastn app ecosystem.

This repository contains following fastn packages:

  • lets-talk.fifthtry-community.com/ contains the source code of the official website of lets-talk app. This is available at https://lets-talk.fifthtry-community.com.
  • lets-talk.fifthtry.site/ is the app package that can be mounted in other fastn packages using -- fastn.app.
  • lets-talk-template.fifthtry.site/ is a template that shows how to use lets-talk.fifthtry.site package.

Usage

See the lets-talk-template.fifthtry.site folder for an example of how to configure an instance of the lets-talk app.

Development

Using Nix

fastn binary should be available in your $PATH. This is not included in the nix flake because we want to easily change the version of fastn on the fly.

git clone git@github.com:fifthtry-community/lets-talk.git
cd lets-talk
nix develop
update-template # only run this when lets-talk-template.fifthtry.site dependencies are modified
run-template

Without Nix

You'll need to install the following dependencies:

  • fastn
  • nodejs 20
  • rust (See ./rust-toolchain.toml for version details)
  • sqlite3 (optional)

Then do:

git clone git@github.com:fifthtry-community/lets-talk.git
cd lets-talk
source scripts/auto.sh
update-template # only run this when lets-talk-template.fifthtry.site dependencies are modified
run-template

The lets-talk-template.fifthtry.site/ is setup to use the local lets-talk.fifthtry.site/ folder as a package. This is done by creating a symlink lets-talk-template.fifthtry.site/.packages/lets-talk.fifthtry.site -> ../../lets-talk.fifthtry.site. This allows you to make changes to the lets-talk.fifthtry.site/ package and see the changes reflected in the lets-talk-template.fifthtry.site/ without publishing the package.

UI Development

All lets-talk UIs are developed using storybook.

Run fastn service using run-ui alias:

update-ui  # only run this when modifying dependencies in FASTN.ftd
run-ui

Visit http://127.0.0.1:8000/storybook/. The port number may vary depending on the availability.

About

An online video chat application in fastn app ecosystem

Resources

License

Stars

Watchers

Forks

Contributors

Languages