Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiddlyhost/tiddlyhost-com
Rails application for creating and hosting TiddlyWiki sites, plus resources for deploying it to https://tiddlyhost.com/
https://github.com/tiddlyhost/tiddlyhost-com
rails tiddlywiki
Last synced: 12 days ago
JSON representation
Rails application for creating and hosting TiddlyWiki sites, plus resources for deploying it to https://tiddlyhost.com/
- Host: GitHub
- URL: https://github.com/tiddlyhost/tiddlyhost-com
- Owner: tiddlyhost
- License: other
- Created: 2021-01-03T22:06:54.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-06T14:35:22.000Z (27 days ago)
- Last Synced: 2025-01-06T15:41:29.024Z (27 days ago)
- Topics: rails, tiddlywiki
- Language: HTML
- Homepage:
- Size: 8.07 MB
- Stars: 192
- Watchers: 8
- Forks: 18
- Open Issues: 113
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
Tiddlyhost
==========About
-----[Tiddlyhost](https://tiddlyhost.com/) is the new Tiddlyspot, a hosting
service for TiddlyWiki.It aims to be the easiest and best way to use TiddlyWiki online.
Unlike the original Tiddlyspot, Tiddlyhost features:
* Secure SSL
* Password recovery
* TiddlyWiki5 support
* Open source codeFor more information please see
[FAQ](https://github.com/tiddlyhost/tiddlyhost-com/wiki/FAQ).Current Status
--------------Tiddlyhost is in active development.
For status updates see the
[Journal](https://github.com/tiddlyhost/tiddlyhost-com/wiki/Journal).Getting Started (for developers)
--------------------------------Todo: Describe the other way to bring up a development system where you run
rails directly.### Prepare environment
You need to have docker and docker compose
[installed on your system](https://docs.docker.com/engine/install/).Check out the code:
git clone [email protected]:tiddlyhost/tiddlyhost-com.git
cd tiddlyhost-com### Build the development container and set up rails
Build the container image used for development:
make build-base
Install all ruby gems, node modules, and initialize the databases:
make rails-init
Run the test suite. Hopefully it's all passing:
make test
Tiddlyhost uses wildcard subdomains. To simulate this for local development,
add some entries to your /etc/hosts:127.0.0.1 tiddlyhost.local
127.0.0.1 aaa.tiddlyhost.local
127.0.0.1 bbb.tiddlyhost.local
127.0.0.1 foo.tiddlyhost.local
127.0.0.1 bar.tiddlyhost.localYou should now be able to start rails like this:
(It runs in the foreground, so I suggest you do this in a second terminal
window.)make start
Visit in your browser and you should see a working
web application.Note that the development environment is using a self-signed SSL certificate,
so you will need to accept the warnings about insecure connections.### Create an account and create a site
Click "Sign up" and enter some details. A fake email address is fine.
Emails won't be sent when running locally, but you can find the email
confirmation link by running this:make signup-link
Click that link and then you should be able to sign in.
Note: For the very first user created, the confirmation step will be skipped
and you'll be logged in immediately.Click "Create Site" to create a site. Note that you need to use a site name
that matches something that you added to your /etc/hosts file, aaa or bbb for
example.Click on the site to open it. Accept the certificate warnings again. Click the
save button and confirm your site was able to be saved.Create other sites or other local accounts as required.
### Other useful commands
Note that the container mounts the rails directory, so the code can be edited
there outside the container while rails is running inside the container.You can shell into the running container in another terminal like this:
make join
From there you can access the rails console, run tests, etc, inside the
container.You can hit Ctrl-C in the terminal where you ran `make start` to shut
it down.You can also shut down and clean up like this:
make cleanup
Note that the make tasks are mostly just wrappers for `docker compose` so you
can use your own `docker compose` commands directly if you prefer. See the
Makefile for details.Run `make` by itself to see a full list of make commands. Read the Makefile to
learn more about what they do.License
-------Tiddlyhost is open source software. It uses a BSD license. See
[LICENSE.md](LICENSE.md).