commit 58d94ad34a8ffb8953d6aaded66029c70f89e242 Author: Alexander "PapaTutuWawa Date: Tue Jan 24 18:20:04 2023 +0100 Initial commit diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..d81168f --- /dev/null +++ b/_config.yml @@ -0,0 +1,62 @@ +permalink: /posts/:year-:month-:day-:title:output_ext + +sourceUrl: https://codeberg.org/moxxy/moxxy +githubMirrorUrl: https://github.com/PapaTutuWawa/moxxy + +developerMuc: xmpp:moxxy@muc.moxxy.org?join + +index: + heroText: An experimental and modern XMPP client + mainScreenshotUrl: /assets/img/screenshots/1.png + + screenshots: + - /assets/img/screenshots/1.png + - /assets/img/screenshots/2.png + + badges: + codeberg: + url: https://codeberg.org/moxxy/moxxy/releases/latest + izzy: + url: https://apt.izzysoft.de/fdroid/index/apk/org.moxxy.moxxyv2 + + features: + - End-to-End encryption using OMEMO + - Stickers + - Reactions + - Retract messages + - Voice messages + - Swipe-to-quote + - Chat background images + - Optional privacy-preserving integration with phone contacts + - Open-Source + +developers: + libraries: + - name: moxxmpp + desc: XMPP library written in Dart + specific: false + url: https://codeberg.org/moxxy/moxxmpp + - name: moxdns + desc: DNS SRV resolver for Flutter + specific: true + url: https://codeberg.org/moxxy/moxdns + - name: moxlib + desc: Shared functions for Moxxy-specific projects + specific: true + url: https://codeberg.org/moxxy/moxlib + - name: moxplatform + desc: Platform-specific code + specific: true + url: https://codeberg.org/moxxy/moxplatform + - name: omemo_dart + desc: Implementation of the cryptography for OMEMO 0.8.3 with a high-level interface + specific: false + url: https://codeberg.org/PapaTutuWawa/omemo_dart + + customXeps: + - name: Extensible File Thumbnails + desc: Provide an extensible way of specifying thumbnails that are neccessarily binary data + url: https://codeberg.org/moxxy/custom-xeps/src/branch/master/xep-xxxx-extensible-file-thumbnails.md + - name: File Upload Notification + desc: Allow communicating that an OOB file upload is currently running to improve the consistency of the conversation + url: https://codeberg.org/moxxy/custom-xeps/src/branch/master/xep-xxxx-file-upload-notification.md diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..0c3994b --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,20 @@ +
+
+ + + + + + + + Moxxy + + + +
+ + Blog + Developers + Source +
+
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..95cdb87 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,25 @@ + + + + + + {{ page.title }} + + + + {% include header.html %} + +
+ {{ content }} +
+ + + + diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..89e78e1 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,15 @@ +--- +layout: default +--- + +
+
+

{{ page.title }}

+ + Posted by {{ page.author }} on {{ page.date | date: "%d.%m.%Y" }} + +
+ {{ page.content }} +
+
+
diff --git a/_posts/2023-01-24-test.md b/_posts/2023-01-24-test.md new file mode 100644 index 0000000..ac333a7 --- /dev/null +++ b/_posts/2023-01-24-test.md @@ -0,0 +1,7 @@ +--- +layout: post +title: Test +author: PapaTutuWawa +--- + +Hallo welt diff --git a/assets/css/.gitkeep b/assets/css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/assets/img/badges/IzzyOnDroid.png b/assets/img/badges/IzzyOnDroid.png new file mode 100644 index 0000000..5050e65 Binary files /dev/null and b/assets/img/badges/IzzyOnDroid.png differ diff --git a/assets/img/badges/codeberg.png b/assets/img/badges/codeberg.png new file mode 100644 index 0000000..aab6455 Binary files /dev/null and b/assets/img/badges/codeberg.png differ diff --git a/assets/img/screenshots/1.png b/assets/img/screenshots/1.png new file mode 100644 index 0000000..83c7dfd Binary files /dev/null and b/assets/img/screenshots/1.png differ diff --git a/assets/img/screenshots/2.png b/assets/img/screenshots/2.png new file mode 100644 index 0000000..d6af8c6 Binary files /dev/null and b/assets/img/screenshots/2.png differ diff --git a/developers.html b/developers.html new file mode 100644 index 0000000..25fc05f --- /dev/null +++ b/developers.html @@ -0,0 +1,75 @@ +--- +layout: default +title: Developer Information | Moxxy +--- + +
+
+ +
+
+

+ Moxxy is fully open source. You can find the source code on Codeberg. Additionally, the code is + mirrored on GitHub. +

+ +

+ Feel free to join the developer chat with your favourite XMPP client. +

+
+

Libraries

+ +

+ Moxxy is built from various smaller libraries that are custom-made for this purpose. Some of them are for general usage, some are specific to the use case of building Moxxy. +

+ + + + + + + + + + + {% for library in site.developers.libraries %} + + + + + + {% endfor %} + +
LibraryDescriptionMoxxy specific
+ {{ library.name }} + {{ library.desc }}{% if library.specific %}Yes{% else %}No{% endif %}
+
+ +
+

Custom XEPs

+ +

+ Moxxy currently implements some custom XMPP protocols to provide additional functionality. These are experimental and are intended to be upstreamed at some point. +

+ + + + + + + + + + {% for xep in site.developers.customXeps %} + + + + + {% endfor %} + +
NameDescription
+ {{ xep.name }} + {{ xep.desc }}
+
+
+
diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..d207065 --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1674236650, + "narHash": "sha256-B4GKL1YdJnII6DQNNJ4wDW1ySJVx2suB1h/v4Ql8J0Q=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "cfb43ad7b941d9c3606fb35d91228da7ebddbfc5", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..83afbae --- /dev/null +++ b/flake.nix @@ -0,0 +1,32 @@ +{ + description = "The website for Moxxy"; + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let + pkgs = import nixpkgs { + inherit system; + }; + + tailwindWithTypography = (pkgs.nodePackages.tailwindcss.overrideAttrs (old: { + plugins = [ + pkgs.nodePackages."@tailwindcss/typography" + ]; + })); + in { + devShell = pkgs.mkShell { + buildInputs = with pkgs; [ + tailwindWithTypography + jekyll + ]; + }; + + packages = { + website = pkgs.callPackage ./pkgs/page.nix { + inherit tailwindWithTypography; + }; + }; + }); +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..c3a8c32 --- /dev/null +++ b/index.html @@ -0,0 +1,57 @@ +--- +layout: default +title: A modern XMPP client | Moxxy +--- + +
+
+
+ {{ site.index.heroText }} +
+
+ +
+
+
+ +
+
+
+ + + + + + + +
+
+
+ +
+
+
+

Features

+ +
    + {% for feature in site.index.features %} +
  • {{ feature }}
  • + {% endfor %} +
+
+
+
+ +
+
+
+

Screenshots

+ +
+ {% for screenshot in site.index.screenshots %} + + {% endfor %} +
+
+
+
diff --git a/input.css b/input.css new file mode 100644 index 0000000..b5c61c9 --- /dev/null +++ b/input.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/pkgs/page.nix b/pkgs/page.nix new file mode 100644 index 0000000..e396ecf --- /dev/null +++ b/pkgs/page.nix @@ -0,0 +1,21 @@ +{ + jekyll, tailwindWithTypography +, stdenv +}: + +stdenv.mkDerivation { + pname = "moxxyv2-website"; + version = "0.1.0"; + src = ./../.; + + buildPhase = '' + ${jekyll}/bin/jekyll build + cp -r ./assets _site/assets + ${tailwindWithTypography}/bin/tailwindcss --input ./input.css --output ./_site/assets/css/index.css + ''; + + installPhase = '' + mkdir -p $out/var/www/ + cp -vr _site/ $out/var/www/website + ''; +} diff --git a/posts.html b/posts.html new file mode 100644 index 0000000..b9eea5a --- /dev/null +++ b/posts.html @@ -0,0 +1,26 @@ +--- +layout: default +title: Blog Posts | Moxxy +--- + +
+
+

Blog posts

+ +
+ {% for post in site.posts %} +
+ {{ post.title }} + +
+ By {{ post.author }} +
+ +

+ {{ post.excerpt | markdownify | strip_html | truncatewords: 100 }} +

+
+ {% endfor %} +
+
+
diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..d1c57b8 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,19 @@ +module.exports = { + content: [ + "./_layouts/*.html", + "./_includes/*.html", + "./index.html", + "./developers.html", + "./posts.html", + ], + theme: { + extend: { + colors: { + 'moxxy-purple': '#cf4aff', + }, + }, + }, + plugins: [ + require('@tailwindcss/typography'), + ], +}