From 17070b30b366401ac1485d4d83500abed9310b50 Mon Sep 17 00:00:00 2001
From: Brian Picciano
Date: Fri, 4 Aug 2023 16:16:55 +0200
Subject: [PATCH] Polish up user interface somewhat
---
README.md | 8 +----
src/service/http/tpl/base.html | 59 +++++++++++++++++++++++++++++++--
src/service/http/tpl/index.html | 46 ++++++++++++++++++-------
3 files changed, 92 insertions(+), 21 deletions(-)
diff --git a/README.md b/README.md
index 07649b9..3a5698d 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ backend (e.g. a git repository), all with no account needed. The user only
inputs their domain name, their desired backend, and then adds two entries to
their DNS server.
-[Demo which may or may not be live](https://domani.mediocregopher.com)
+[Demo](https://domani.micropelago.net)
Domani supports serving domains using the following protocols:
@@ -197,17 +197,11 @@ immediately available at:
## Roadmap
-* Better web interface design.
* Tutorials aimed at beginner users.
* Support for more backends than just git repositories, including:
* IPFS/IPNS
* Small static files (e.g. for well-knowns)
- * Google Drive
- * Dropbox
* Automatic HTTP/gemtext rendering for markdown files.
* Automatic HTTP rendering for gemtext files.
-
-* Ability to disable the web interface.
-* Ability to disable HTTP completely.
diff --git a/src/service/http/tpl/base.html b/src/service/http/tpl/base.html
index ebadcd0..ecd577f 100644
--- a/src/service/http/tpl/base.html
+++ b/src/service/http/tpl/base.html
@@ -18,9 +18,64 @@
@@ -28,8 +83,8 @@
-
Domani connects your domain to whatever you want to host on it, all with no
-account needed. Just input your desired backend, add two entries to your DNS
-server, and you're done!
-
YOU SHOULD NOT USE THIS FOR ANYTHING YOU CARE ABOUT AT THIS
- TIME.
-
-
Domani is currently only a proof-of-concept with limited features,
- but will continue to be expanded as development time permits.
+
Domani makes it as easy as possible to host a website on your own domain
+name. No account is needed, just two simple steps and you're done!
Get Started
-
Input your domain name below to set it up, or to reconfigure it has already
-been set up.
+
Input your domain name below to set it up, or to reconfigure a domain which
+you have already set up.
-
Or you can do any of the following alternative actions:
+You will direct Domani to serve files from some external backend, for example a
+git repository. Domani will handle all the details of generating TLS
+certificates, fetching the files, and serving traffic to your website.
+
+
+
To change the content of your website, just change the files in your
+configured backend. The changes will be reflected on your website after a short
+refresh period.
+
+
Gemini Support
+
+
+Gemini is a new protocol
+with a focus on content, simplicity, and user-centrism.
+
+
+
+Domani supports both normal websites and gemini capsules, and will serve the
+same domain on both protocols at the same time. Getting started with gemini is
+as simple as creating an index.gmi
+gemtext file
+in your backend, and visiting your domain in a
+gemini client.
+
+
About
Domani is an open-source project which is designed to be hosted by