summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dynamic/README.md16
-rw-r--r--dynamic/api.scm16
-rw-r--r--dynamic/captcha.scm16
3 files changed, 48 insertions, 0 deletions
diff --git a/dynamic/README.md b/dynamic/README.md
new file mode 100644
index 0000000..0f64827
--- /dev/null
+++ b/dynamic/README.md
@@ -0,0 +1,16 @@
+# Dynamic API for jakob.space
+
+This is a Guile back-end for all dynamic capabilities on jakob.space. It is
+assumed that the web server proxies all requests matching a `/api` prefix to
+this server.
+
+## Dependencies
+
+Depending on who you ask, the package management situation for Guile is either
+disappointing, or a pleasant reminder of simpler times. This module leverages
+two Guile modules which, to my knowledge, are not packaged in the typical Guile
+extension fashion. The respective `.scm` files will need to be downloaded and
+added to Guile load path.
+
+- [base64 from guile-lib](https://github.com/jacobrec/guile-lib/blob/master/base64.scm)
+- [squee](https://notabug.org/cwebber/guile-squee/)
diff --git a/dynamic/api.scm b/dynamic/api.scm
index 7ca3e36..4a41040 100644
--- a/dynamic/api.scm
+++ b/dynamic/api.scm
@@ -1,3 +1,19 @@
+;;; Copyright © 2019 - 2022 Jakob L. Kreuze <zerodaysfordays@sdf.org>
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License as
+;;; published by the Free Software Foundation; either version 3 of the
+;;; License, or (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see
+;;; <http://www.gnu.org/licenses/>.
+
(add-to-load-path (dirname (current-filename)))
;; (add-to-load-path "/home/jakob/Blog/dynamic")
diff --git a/dynamic/captcha.scm b/dynamic/captcha.scm
index c4380fb..f3564a5 100644
--- a/dynamic/captcha.scm
+++ b/dynamic/captcha.scm
@@ -1,3 +1,19 @@
+;;; Copyright © 2019 - 2022 Jakob L. Kreuze <zerodaysfordays@sdf.org>
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License as
+;;; published by the Free Software Foundation; either version 3 of the
+;;; License, or (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see
+;;; <http://www.gnu.org/licenses/>.
+
(define-module (captcha)
#:use-module (ice-9 binary-ports)
#:use-module (ice-9 local-eval)