| 
									
										
										
										
											2016-03-12 18:55:55 +00:00
										 |  |  | # Tilde Friends
 | 
					
						
							| 
									
										
										
										
											2024-02-24 11:09:34 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-04 12:39:59 -05:00
										 |  |  | Tilde Friends participates in the Secure Scuttlebutt decentralized social | 
					
						
							|  |  |  | network while also functioning as a platform for making, sharing, and running | 
					
						
							|  |  |  | web applications. | 
					
						
							| 
									
										
										
										
											2022-12-01 01:07:06 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-18 21:31:07 -05:00
										 |  |  | A public instance lives at https://www.tildefriends.net/. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | ## Goals
 | 
					
						
							| 
									
										
										
										
											2024-02-24 11:09:34 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-04 12:39:59 -05:00
										 |  |  | 1. Be the fanciest, best-maintained Secure Scuttlebutt client in town. | 
					
						
							|  |  |  | 1. Make it easy to make, share, and run all sorts of applications while | 
					
						
							|  |  |  |    respecting the privacy and safety of your data. | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-26 11:42:33 -05:00
										 |  |  | ## Getting the Source
 | 
					
						
							| 
									
										
										
										
											2024-02-18 21:31:07 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											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 | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-06 12:16:30 -04:00
										 |  |  | The `.tar.xz` source releases are all-inclusive. | 
					
						
							| 
									
										
										
										
											2024-09-28 07:11:47 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-26 11:42:33 -05:00
										 |  |  | ## Building
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-27 12:07:00 -05:00
										 |  |  | Builds on Linux (x86_64 and aarch64), MacOS, OpenBSD, and Haiku. It's possible | 
					
						
							| 
									
										
										
										
											2024-11-26 11:42:33 -05:00
										 |  |  | to build for Android, iOS, and Windows on Linux, if you have the right | 
					
						
							|  |  |  | dependencies in the right places. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### Requirements
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | On MacOS, Xcode's command-line tools are expected to be available. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### Build Commands
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-27 12:07:00 -05:00
										 |  |  | Run `make` with no arguments to see available build targets and options. `make | 
					
						
							| 
									
										
										
										
											2024-11-26 11:42:33 -05:00
										 |  |  | debug` is a good place to start. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | To build in docker, `docker build .`. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | `make format` and `make prettier` will normalize formatting to the coding | 
					
						
							|  |  |  | standard. | 
					
						
							| 
									
										
										
										
											2020-09-23 01:58:13 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | ## Running
 | 
					
						
							| 
									
										
										
										
											2024-02-24 11:09:34 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-26 11:42:33 -05:00
										 |  |  | By default, running the built `out/debug/tildefriends` executable will start a | 
					
						
							| 
									
										
										
										
											2025-04-05 22:05:26 -04:00
										 |  |  | web server at <http://localhost:12345/>. `tildefriends -h` lists further | 
					
						
							| 
									
										
										
										
											2025-04-02 20:01:26 -04:00
										 |  |  | options. | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-01 01:07:06 +00:00
										 |  |  | The first user to create an account and log in will be granted administrative | 
					
						
							| 
									
										
										
										
											2025-02-04 12:39:59 -05:00
										 |  |  | privileges. Further administration can be done in the `admin` app at | 
					
						
							| 
									
										
										
										
											2024-02-18 20:48:10 -05:00
										 |  |  | <http://localhost:12345/~core/admin/>. | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-08 16:25:07 +00:00
										 |  |  | ## Documentation
 | 
					
						
							| 
									
										
										
										
											2024-02-24 11:09:34 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-03 12:39:23 -05:00
										 |  |  | Docs live here: <https://docs.tildefriends.net/>. | 
					
						
							| 
									
										
										
										
											2017-01-08 16:25:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | ## License
 | 
					
						
							| 
									
										
										
										
											2024-02-24 11:09:34 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-01 01:07:06 +00:00
										 |  |  | All code unless otherwise noted in is provided under the | 
					
						
							|  |  |  | [MIT](https://opensource.org/licenses/MIT) license. |