diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-06-24 16:12:17 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-06-24 16:12:17 +0200 |
| commit | 647c1d317399da2aff6d3e9371de726aec831289 (patch) | |
| tree | 6e8120be487ee53b008615fc7b1487e5bda6a12e | |
| parent | bf8297543935fbcf3e608d38246e5435b3afbc77 (diff) | |
| -rwxr-xr-x | build.sh | 3 | ||||
| -rw-r--r-- | feed.xml | 10 | ||||
| -rw-r--r-- | this-server/index.html | 2 | ||||
| -rw-r--r-- | this-server/meta | 1 |
4 files changed, 8 insertions, 8 deletions
@@ -170,6 +170,7 @@ md2html() { } genhtml() ( + . ./meta cd "$1" || return . ./meta @@ -193,7 +194,7 @@ genhtml() ( # Footer [ "$1" = . ] && return - echo "<hr>From: $author, $date. <a href=\"mailto:marc@vertes.org?subject=$(urlenc "Re: $link")\">Feedback</a>" + echo "<hr>From: $author, $date. <a href=\"mailto:marc@vertes.org?subject=$(urlenc "Re: $link/${PWD##*/}")\">Feedback</a>" ) urlenc() { @@ -5,18 +5,18 @@ <link>https://dot.vertes.org/</link> <description>An experimental website on a solar phone</description> <managingEditor>marc@vertes.org (Marc Vertes)</managingEditor> -<pubDate>Mon, 23 Jun 2025 18:37:03 +0200</pubDate> +<pubDate>Mon, 23 Jun 2025 23:18:36 +0200</pubDate> <item> -<guid isPermaLink="true">dot.server.org/this-server/this-server/</guid> +<guid isPermaLink="true">https://dot.vertes.org/this-server/</guid> <title>A web server on a solar phone</title> -<link>dot.server.org/this-server/this-server/</link> +<link>https://dot.vertes.org/this-server/</link> <description>Hosting a web server on a solar powered phone</description> <author>marc@vertes.org (Marc Vertes)</author> <pubDate>Fri, 20 June 2025 12:00:00 +0200</pubDate> <content:encoded> <![CDATA[<h1> A web server on a solar phone</h1> <p>I have this old low-cost phone which was the first one offered to my kid when he was 15 (he is now 21), before he moved to a more fashionable model. I noticed that without a SIM card, only on WIFI, the phone needed to be recharged not after 1 or 2 days, but only after 2 weeks! So this small device, plugged to a small solar panel, could be the perfect always-on personal web server. The site that you are browsing right now is hosted on it.</p> -<p><img src="dot.server.org/this-server/this-server/server.jpeg" alt="The server with its solar panel, and a cat"></p> +<p><img src="https://dot.vertes.org/this-server/server.jpeg" alt="The server with its solar panel, and a cat"></p> <h2> Hardware</h2> <p>The phone is an entry-level Motorola G7 Play, purchased in 2019, worth nothing today. It was used by my son for less than 2 years, then dormant since. The display is slighly shattered, but it doesn't matter, as I use it headless.</p> <p>I bought a small solar panel on Amazon, 10W produced by 2 plates of 17x17 cm.</p> @@ -30,7 +30,7 @@ <h2> Operation</h2> <p>It's too early to say. Lets see how it goes over time (a few months), and if a relatively old phone can find a second life and be used as an autonomous web server, running solely on free photons and electrons.</p> <p>But for now, we are in june and the battery level is almost always at 100%.</p> -<hr>From: Marc Vertes, 20 june 2025. <a href="dot.server.org/this-server/this-server/mailto:marc@vertes.org?subject=Re%3a%20dot.server.org%2fthis-server">Feedback</a>]]> +<hr>From: Marc Vertes, 20 june 2025. <a href="https://dot.vertes.org/this-server/mailto:marc@vertes.org?subject=Re%3a%20https%3a%2f%2fdot.vertes.org%2fthis-server">Feedback</a>]]> </content:encoded> </item> </channel> diff --git a/this-server/index.html b/this-server/index.html index 3478cd4..85f1462 100644 --- a/this-server/index.html +++ b/this-server/index.html @@ -21,4 +21,4 @@ <h2> Operation</h2> <p>It's too early to say. Lets see how it goes over time (a few months), and if a relatively old phone can find a second life and be used as an autonomous web server, running solely on free photons and electrons.</p> <p>But for now, we are in june and the battery level is almost always at 100%.</p> -<hr>From: Marc Vertes, 20 june 2025. <a href="mailto:marc@vertes.org?subject=Re%3a%20dot.server.org%2fthis-server">Feedback</a> +<hr>From: Marc Vertes, 20 june 2025. <a href="mailto:marc@vertes.org?subject=Re%3a%20https%3a%2f%2fdot.vertes.org%2fthis-server">Feedback</a> diff --git a/this-server/meta b/this-server/meta index 0fce4ff..60682cc 100644 --- a/this-server/meta +++ b/this-server/meta @@ -2,6 +2,5 @@ blog_title="Marc's Notes" title="A web server on a solar phone" author="Marc Vertes" description="Hosting a web server on a solar powered phone" -link="dot.server.org/this-server" date="20 june 2025" date_rfc2822="Fri, 20 June 2025 12:00:00 +0200" |
