From 43e180b9bf172655f6e729f2070a6801ba713777 Mon Sep 17 00:00:00 2001 From: Starfall Date: Mon, 29 Apr 2024 11:12:05 -0500 Subject: prepare repo for direct publishing --- COPYING.md | 2 +- README.md | 9 ++ css/terminal.css | 2 +- files/fonts/DejaVuSansMono-LICENSE | 187 +++++++++++++++++++++++++++++++++++++ files/fonts/DejaVuSansMono.ttf | Bin 0 -> 340712 bytes package.json | 3 +- publish.sh | 8 ++ src/index.html | 5 +- www.starfall.systems | 30 ++++++ 9 files changed, 241 insertions(+), 5 deletions(-) create mode 100644 README.md create mode 100755 files/fonts/DejaVuSansMono-LICENSE create mode 100755 files/fonts/DejaVuSansMono.ttf create mode 100755 publish.sh create mode 100644 www.starfall.systems diff --git a/COPYING.md b/COPYING.md index 4faf7bf..b8415e3 100644 --- a/COPYING.md +++ b/COPYING.md @@ -1,4 +1,4 @@ -Except as noted, all content is (c) 2020-2023 Starfall. All rights reserved. +Except as noted, all content is (c) 2020-2024 Starfall. All rights reserved. That said, we have no interest in preventing individuals from making use of what knowledge we freely share, and the above statement is little more than diff --git a/README.md b/README.md new file mode 100644 index 0000000..6328103 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +Updating the site: + +``` +npx @11ty/eleventy +mkdir -p /srv/www.starfall.systems +cp -r _site /srv/www.starfall.systems +install www.starfall.systems /etc/nginx/sites-available/www.starfall.systems +nginx -s reload +``` diff --git a/css/terminal.css b/css/terminal.css index bb3e1bd..509a1a6 100644 --- a/css/terminal.css +++ b/css/terminal.css @@ -1,6 +1,6 @@ @font-face { font-family: "DejaVu Sans Mono"; - src: url("../files/fonts/dejavu/ttf/DejaVuSansMono.ttf"); + src: url("../files/fonts/DejaVuSansMono.ttf"); } :root { --fg: #90ff90; diff --git a/files/fonts/DejaVuSansMono-LICENSE b/files/fonts/DejaVuSansMono-LICENSE new file mode 100755 index 0000000..df52c17 --- /dev/null +++ b/files/fonts/DejaVuSansMono-LICENSE @@ -0,0 +1,187 @@ +Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. +Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below) + + +Bitstream Vera Fonts Copyright +------------------------------ + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is +a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license ("Fonts") and associated +documentation files (the "Font Software"), to reproduce and distribute the +Font Software, including without limitation the rights to use, copy, merge, +publish, distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to the +following conditions: + +The above copyright and trademark notices and this permission notice shall +be included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may be modified and +additional glyphs or characters may be added to the Fonts, only if the fonts +are renamed to names not containing either the words "Bitstream" or the word +"Vera". + +This License becomes null and void to the extent applicable to Fonts or Font +Software that has been modified and is distributed under the "Bitstream +Vera" names. + +The Font Software may be sold as part of a larger software package but no +copy of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME +FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING +ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE +FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome +Foundation, and Bitstream Inc., shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this Font Software +without prior written authorization from the Gnome Foundation or Bitstream +Inc., respectively. For further information, contact: fonts at gnome dot +org. + +Arev Fonts Copyright +------------------------------ + +Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the fonts accompanying this license ("Fonts") and +associated documentation files (the "Font Software"), to reproduce +and distribute the modifications to the Bitstream Vera Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to +the following conditions: + +The above copyright and trademark notices and this permission notice +shall be included in all copies of one or more of the Font Software +typefaces. + +The Font Software may be modified, altered, or added to, and in +particular the designs of glyphs or characters in the Fonts may be +modified and additional glyphs or characters may be added to the +Fonts, only if the fonts are renamed to names not containing either +the words "Tavmjong Bah" or the word "Arev". + +This License becomes null and void to the extent applicable to Fonts +or Font Software that has been modified and is distributed under the +"Tavmjong Bah Arev" names. + +The Font Software may be sold as part of a larger software package but +no copy of one or more of the Font Software typefaces may be sold by +itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL +TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the name of Tavmjong Bah shall not +be used in advertising or otherwise to promote the sale, use or other +dealings in this Font Software without prior written authorization +from Tavmjong Bah. For further information, contact: tavmjong @ free +. fr. + +TeX Gyre DJV Math +----------------- +Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. + +Math extensions done by B. Jackowski, P. Strzelczyk and P. Pianowski +(on behalf of TeX users groups) are in public domain. + +Letters imported from Euler Fraktur from AMSfonts are (c) American +Mathematical Society (see below). +Bitstream Vera Fonts Copyright +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera +is a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license (“Fonts”) and associated +documentation +files (the “Font Software”), to reproduce and distribute the Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, +and/or sell copies of the Font Software, and to permit persons to whom +the Font Software is furnished to do so, subject to the following +conditions: + +The above copyright and trademark notices and this permission notice +shall be +included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may be modified and +additional +glyphs or characters may be added to the Fonts, only if the fonts are +renamed +to names not containing either the words “Bitstream” or the word “Vera”. + +This License becomes null and void to the extent applicable to Fonts or +Font Software +that has been modified and is distributed under the “Bitstream Vera” +names. + +The Font Software may be sold as part of a larger software package but +no copy +of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME +FOUNDATION +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, +SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN +ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR +INABILITY TO USE +THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. +Except as contained in this notice, the names of GNOME, the GNOME +Foundation, +and Bitstream Inc., shall not be used in advertising or otherwise to promote +the sale, use or other dealings in this Font Software without prior written +authorization from the GNOME Foundation or Bitstream Inc., respectively. +For further information, contact: fonts at gnome dot org. + +AMSFonts (v. 2.2) copyright + +The PostScript Type 1 implementation of the AMSFonts produced by and +previously distributed by Blue Sky Research and Y&Y, Inc. are now freely +available for general use. This has been accomplished through the +cooperation +of a consortium of scientific publishers with Blue Sky Research and Y&Y. +Members of this consortium include: + +Elsevier Science IBM Corporation Society for Industrial and Applied +Mathematics (SIAM) Springer-Verlag American Mathematical Society (AMS) + +In order to assure the authenticity of these fonts, copyright will be +held by +the American Mathematical Society. This is not meant to restrict in any way +the legitimate use of the fonts, such as (but not limited to) electronic +distribution of documents containing these fonts, inclusion of these fonts +into other public domain or commercial font collections or computer +applications, use of the outline data to create derivative fonts and/or +faces, etc. However, the AMS does require that the AMS copyright notice be +removed from any derivative versions of the fonts which have been altered in +any way. In addition, to ensure the fidelity of TeX documents using Computer +Modern fonts, Professor Donald Knuth, creator of the Computer Modern faces, +has requested that any alterations which yield different font metrics be +given a different name. + +$Id$ diff --git a/files/fonts/DejaVuSansMono.ttf b/files/fonts/DejaVuSansMono.ttf new file mode 100755 index 0000000..f578602 Binary files /dev/null and b/files/fonts/DejaVuSansMono.ttf differ diff --git a/package.json b/package.json index bcb1711..60968ad 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "install": "npx @11ty/eleventy", "test": "echo \"Error: no test specified\" && exit 1", - "start": "npx @11ty/eleventy --serve --watch" + "start": "npx @11ty/eleventy --serve --watch", + "publish": "publish.sh" }, "devDependencies": { "@11ty/eleventy": "^2.0.1", diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..c294451 --- /dev/null +++ b/publish.sh @@ -0,0 +1,8 @@ +set -exuo pipefail + +npx @11ty/eleventy +mkdir -p /srv/www.starfall.systems +cp -r _site /srv/www.starfall.systems + +install www.starfall.systems /etc/nginx/sites-available/www.starfall.systems +sudo nginx -s reload diff --git a/src/index.html b/src/index.html index b4c5ce8..825dd0a 100644 --- a/src/index.html +++ b/src/index.html @@ -19,7 +19,7 @@ order = -1

Contact

-
diff --git a/www.starfall.systems b/www.starfall.systems new file mode 100644 index 0000000..bf2edab --- /dev/null +++ b/www.starfall.systems @@ -0,0 +1,30 @@ +# vim: ft=nginx +server { + listen 80; + listen [::]:80; + server_name starfall.systems www.starfall.systems; + location ^~ /.well-known/acme-challenge { + alias /var/lib/dehydrated/acme_challenges/; + } + return 301 https://$host$request_uri; +} + +server { + server_name www.starfall.systems; + include /etc/nginx/snippets/ssl.conf; + return 302 https://starfall.systems$request_uri; +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + server_name starfall.systems; + include /etc/nginx/snippets/ssl.conf; + + root /srv/starfall.systems/html; + try_files $uri $uri/index.html $uri.html =404; + + location ~ ^/(css/img/js/files)/ { + root /srv/starfall.systems; + } +} -- cgit