2016-03-12 13:55:55 -05:00
|
|
|
# Tilde Friends
|
2024-02-24 11:09:34 -05:00
|
|
|
|
2022-11-30 20:07:06 -05:00
|
|
|
Tilde Friends is a tool for making and sharing.
|
|
|
|
|
2024-02-18 21:31:07 -05:00
|
|
|
A public instance lives at https://www.tildefriends.net/.
|
|
|
|
|
2022-11-30 20:07:06 -05:00
|
|
|
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.
|
2016-03-12 13:50:43 -05:00
|
|
|
|
|
|
|
## Goals
|
2024-02-24 11:09:34 -05:00
|
|
|
|
2021-01-02 13:10:00 -05:00
|
|
|
1. Make it easy and fun to run all sorts of web applications.
|
2022-11-30 20:07:06 -05:00
|
|
|
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.
|
2016-03-12 13:50:43 -05:00
|
|
|
|
|
|
|
## Building
|
2024-02-24 11:09:34 -05:00
|
|
|
|
|
|
|
Builds on Linux (x86_64 and aarch64), MacOS, OpenBSD, and Haiku. Builds for
|
2024-02-18 21:31:07 -05:00
|
|
|
all of those host platforms plus mingw64, iOS, and android.
|
|
|
|
|
2024-09-28 07:11:47 -04:00
|
|
|
Tilde Friends uses git submodules, so either:
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone --recurse-submodules https://dev.tildefriends.net/cory/tildefriends.git
|
|
|
|
```
|
|
|
|
|
|
|
|
or:
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://dev.tildefriends.net/cory/tildefriends.git
|
|
|
|
cd tildefriends
|
|
|
|
git submodule update --init --recursive
|
|
|
|
```
|
|
|
|
|
|
|
|
The `.tar.xz` releases are all-inclusive.
|
|
|
|
|
|
|
|
The gitea `Source Code (ZIP)` and `Source Code (TAR.GZ)` are missing
|
|
|
|
dependencies, so don't use those.
|
|
|
|
|
|
|
|
1. On Linux only, system OpenSSL libraries (`libssl-dev`, in debian-speak) is
|
|
|
|
assumed to be available.
|
2024-02-24 11:09:34 -05:00
|
|
|
2. To build, run `make debug` or `make release`. An executable will be
|
2022-11-30 20:07:06 -05:00
|
|
|
generated in a subdirectory of `out/`.
|
2023-10-19 20:25:51 -04:00
|
|
|
3. It's possible to build for Android, iOS, and Windows on Linux, if you have
|
2024-02-24 11:09:34 -05:00
|
|
|
the right dependencies in the right places. `make windebug winrelease
|
|
|
|
iosdebug-ipa iosrelease-ipa release-apk`.
|
2022-11-30 20:07:06 -05:00
|
|
|
4. To build in docker, `docker build .`.
|
2024-02-18 21:31:07 -05:00
|
|
|
5. `make format` will normalize formatting to the coding standard.
|
2020-09-22 21:58:13 -04:00
|
|
|
|
2016-03-12 13:50:43 -05:00
|
|
|
## Running
|
2024-02-24 11:09:34 -05:00
|
|
|
|
2022-11-30 20:07:06 -05:00
|
|
|
By default, running the built `tildefriends` executable will start a web server
|
2024-02-24 11:09:34 -05:00
|
|
|
at <http://localhost:12345/>. `tildefriends -h` lists further options.
|
2016-03-12 13:50:43 -05:00
|
|
|
|
2022-11-30 20:07:06 -05:00
|
|
|
The first user to create an account and log in will be granted administrative
|
2024-02-24 11:09:34 -05:00
|
|
|
privileges. Further administration can be done at
|
2024-02-18 20:48:10 -05:00
|
|
|
<http://localhost:12345/~core/admin/>.
|
2016-03-12 13:50:43 -05:00
|
|
|
|
2017-01-08 11:25:07 -05:00
|
|
|
## Documentation
|
2024-02-24 11:09:34 -05:00
|
|
|
|
2024-02-18 21:31:07 -05:00
|
|
|
Docs are a work in progress:
|
|
|
|
<https://www.tildefriends.net/~cory/wiki/#test-wiki/tf-app-quick-reference>.
|
2017-01-08 11:25:07 -05:00
|
|
|
|
2016-03-12 13:50:43 -05:00
|
|
|
## License
|
2024-02-24 11:09:34 -05:00
|
|
|
|
2022-11-30 20:07:06 -05:00
|
|
|
All code unless otherwise noted in is provided under the
|
|
|
|
[MIT](https://opensource.org/licenses/MIT) license.
|