commit 0878a92212dc9ee257338ca4b71c95a289934a49
parent e8438c3b78564e7376653a8a33ce5e699135c8b3
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Fri, 6 Jun 2025 11:13:59 +0200
feat: add initial hosting configs and implement REUSE compliance
Diffstat:
5 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1 @@
+*.xml
diff --git a/.htaccess b/.htaccess
@@ -0,0 +1,14 @@
+# Disallow file browsing
+Options -Indexes
+
+# Ensure content is loaded as UTF-8
+IndexOptions +Charset=UTF-8
+
+# Disallow browsing of certain sub-directories (redirect to 404)
+RedirectMatch 404 ^/.git/.*$
+RedirectMatch 404 ^/.gitignore$
+RedirectMatch 404 ^/.htaccess$
+RedirectMatch 404 ^/.reuse$
+RedirectMatch 404 ^/README.md$
+
+
diff --git a/.reuse/dep5 b/.reuse/dep5
@@ -0,0 +1,13 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Kontra
+Upstream-Contact: JayVii <jayvii+kontra[AT]posteo[DOT]de>
+Source: https://src.jayvii.de/pub/kontra
+
+Files: README.md Makefile .gitignore robots.txt
+Copyright: 2025 JayVii <jayvii+kontra[AT]posteo[DOT]de>
+License: AGPL-3.0-or-later
+
+Files: news-sources.json
+Copyright: 2025 JayVii <jayvii+kontra[AT]posteo[DOT]de>
+License: AGPL-3.0-or-later
+
diff --git a/README.md b/README.md
@@ -81,6 +81,7 @@ Verantwortlich für das Projekt ist:
## Version 0 (Pilot-Version)
+- [X] REUSE Konformität
- [ ] Initiale Nachrichten-Quelldatei mit den wichtigsten deutschen Linken
Zeitungen *[in Arbeit]*
- [ ] Aufbau der Grundstruktur für eine Webapplikation: Quellenliste,
diff --git a/robots.txt b/robots.txt
@@ -0,0 +1,3 @@
+# Disallow all bots anywhere on the site
+User-agent: *
+Disallow: /