Tilde Friends public git repository. https://www.tildefriends.net/
Go to file
Tasia Iso 5e72c9caf4
build: add husky to automatically format code
- husky installs a git hook to run make format every time you commit new code
- if `make format` fails (if a dependency is missing or prettier throws an error), the hook will still succeed as to not block people for dumb reasons
- pin prettier and husky to 3.2.5 and 9.0.11 respectively
- add prettier as a dependency for the `make format` rule
2024-06-04 15:08:10 +02:00
.husky build: add husky to automatically format code 2024-06-04 15:08:10 +02:00
apps format+prettier 2024-06-03 12:36:34 -04:00
core Make the websocket disconnect message not pop up a modal dialog so that it's less annoying when it happens in the normal course of events. #60 2024-05-27 20:35:40 -04:00
deps Update codemirror. 2024-05-27 08:23:45 -04:00
docs Run prettier. 2024-02-24 11:09:34 -05:00
src format+prettier 2024-06-03 12:36:34 -04:00
tools Make sure the first user can admin. 2024-05-11 09:03:56 -04:00
.clang-format Add missing .clang-format, and fix some spaces that slipped through. 2024-02-17 19:22:02 +00:00
.dockerignore Add a docker file. Runs enough to produce some output but not really tested. 2022-01-11 23:17:18 +00:00
.git-blame-ignore-revs prevent previous commits from appearing in git blame 2024-02-22 15:37:40 +01:00
.gitignore build(nix): add Nix support 2024-05-12 20:34:03 +02:00
.gitmodules Move to submodules: libsodium, quickjs, crypt_blowfish, libbacktrace, libuv, picohttpparser. Kudos to @tasioiso in #45. 2024-04-10 19:25:18 -04:00
.prettierignore build: add husky to automatically format code 2024-06-04 15:08:10 +02:00
.prettierrc.yaml Run prettier. 2024-02-24 11:09:34 -05:00
CONTRIBUTING.md Prettier. 2024-03-06 21:14:09 -05:00
default.nix nix: update version to 0.0.19 2024-05-30 11:34:57 +02:00
Dockerfile Smaller docker image. Why not. 2023-02-01 23:47:07 +00:00
Doxyfile Add a Doxyfile and preliminary module-level docs. 2024-02-20 21:41:37 -05:00
flake.lock prettier 2024-05-22 20:52:10 -04:00
flake.nix chore: a bit more doc 2024-05-12 21:17:38 +02:00
GNUmakefile build: add husky to automatically format code 2024-06-04 15:08:10 +02:00
LICENSE MIT license this thing. 2022-01-15 21:09:36 +00:00
package-lock.json build: add husky to automatically format code 2024-06-04 15:08:10 +02:00
package.json build: add husky to automatically format code 2024-06-04 15:08:10 +02:00
README.md Run prettier. 2024-02-24 11:09:34 -05:00

Tilde Friends

Tilde Friends is a tool for making and sharing.

A public instance lives at https://www.tildefriends.net/.

It is both a peer-to-peer social network client, participating in Secure Scuttlebutt, as well as a platform for writing and running web applications.

Goals

  1. Make it easy and fun to run all sorts of web applications.
  2. Provide security that is easy to understand and protects your data.
  3. Make creating and sharing web applications accessible to anyone with a browser.

Building

Builds on Linux (x86_64 and aarch64), MacOS, OpenBSD, and Haiku. Builds for all of those host platforms plus mingw64, iOS, and android.

  1. Requires openssl (libssl-dev, in debian-speak). All other dependencies are kept up to date in the tree.
  2. To build, run make debug or make release. An executable will be generated in a subdirectory of out/.
  3. It's possible to build for Android, iOS, and Windows on Linux, if you have the right dependencies in the right places. make windebug winrelease iosdebug-ipa iosrelease-ipa release-apk.
  4. To build in docker, docker build ..
  5. make format will normalize formatting to the coding standard.

Running

By default, running the built tildefriends executable will start a web server at http://localhost:12345/. tildefriends -h lists further options.

The first user to create an account and log in will be granted administrative privileges. Further administration can be done at http://localhost:12345/~core/admin/.

Documentation

Docs are a work in progress: https://www.tildefriends.net/~cory/wiki/#test-wiki/tf-app-quick-reference.

License

All code unless otherwise noted in is provided under the MIT license.