]> git.armaanb.net Git - lightcards-http.git/commitdiff
First commit
authorArmaan Bhojwani <me@armaanb.net>
Sun, 14 Feb 2021 05:40:46 +0000 (00:40 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 14 Feb 2021 05:44:19 +0000 (00:44 -0500)
.build.yml [new file with mode: 0644]
.gitignore [new file with mode: 0644]
1.webp [new file with mode: 0644]
2.webp [new file with mode: 0644]
LICENSE [new file with mode: 0644]
Makefile [new file with mode: 0644]
README.md [new file with mode: 0644]
index.html [new file with mode: 0644]

diff --git a/.build.yml b/.build.yml
new file mode 100644 (file)
index 0000000..63c0585
--- /dev/null
@@ -0,0 +1,6 @@
+image: alpine/edge
+secrets:
+  - 5752743f-34af-46a8-aad9-b5d31e305b3b
+tasks:
+  - ssh: |
+      ssh -o StrictHostKeyChecking=no -p 23 web@armaanb.net "web-update-server lightcards"
diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..ca441ef
--- /dev/null
@@ -0,0 +1 @@
+*.min.*
diff --git a/1.webp b/1.webp
new file mode 100644 (file)
index 0000000..738306d
Binary files /dev/null and b/1.webp differ
diff --git a/2.webp b/2.webp
new file mode 100644 (file)
index 0000000..1c24d20
Binary files /dev/null and b/2.webp differ
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..0d0aa76
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,20 @@
+Lightcards website
+Copyright © 2021 Armaan Bhojwani
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..db34726
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+.DEFAULT_GOAL := minify
+
+minify:
+       minify index.html > index.min.html
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..aabaa97
--- /dev/null
+++ b/README.md
@@ -0,0 +1,6 @@
+# Lightcards website
+
+HTTP website for [lightcards](https://git.sr.ht/~armaan/lightcards)
+
+## License
+Copyright 2021 Armaan Bhojwani, MIT license.
diff --git a/index.html b/index.html
new file mode 100644 (file)
index 0000000..4d45e2c
--- /dev/null
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width">
+    <title>lightcards</title>
+    <style>
+body {
+  margin: 40px auto;
+  max-width: 650px;
+  line-height: 1.6;
+  font-size: 18px;
+  padding: 0 10px;
+}
+
+h1 {
+  line-height: 0.75;
+}
+
+h2 {
+  line-height: 1;
+}
+
+img {
+  width: 100%;
+}
+
+a {
+  font-size: 1.1em;
+  color: black;
+}
+    </style>
+    <link href=data:, rel=icon>
+  </head>
+  <body>
+    <hr>
+    <h1>lightcards</h1>
+    <a href="https://git.sr.ht/~armaan/lightcards">Source code</a> | 
+    <a href="https://lists.sr.ht/~armaan/public-inbox">Mailing list</a> | 
+    <a href="https://pypi.org/project/lightcards">PyPI</a>
+    <hr>
+    <p>A terminal flashcards program that gets its data from Markdown.</p>
+
+    <h2>Gallery</h2>
+    <img src="1.webp" alt="screenshot 1">
+    <img src="2.webp" alt="screenshot 2">
+
+    <h2>Copyright</h2>
+    <p>Copyright 2021 Armaan Bhojwani, MIT license.
+    <hr>
+  </body>
+</html>