diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 4ec12c3..8f401eb 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -3,17 +3,19 @@ on: branches: - main +env: + NIX_CONFIG: experimental-features = nix-command flakes + jobs: deploy: - runs-on: docker - + runs-on: nixos steps: + - name: Install node & bun + run: nix profile add nixpkgs#nodejs_24 nixpkgs#bun + - name: Check out repo uses: https://data.forgejo.org/actions/checkout@v4 - - name: Setup Bun - uses: oven-sh/setup-bun@v2 - - name: Install dependencies run: bun install --frozen-lockfile @@ -21,7 +23,7 @@ jobs: run: bun run build - name: Install rsync - run: apt-get update && apt-get install -y rsync + run: nix profile add nixpkgs#rsync - name: Deploy run: rsync -a --delete dist/ /var/lib/www/tensamin-docs/ diff --git a/src/content/docs/index.md b/src/content/docs/index.md index 3ff9e39..7c0269a 100644 --- a/src/content/docs/index.md +++ b/src/content/docs/index.md @@ -2,10 +2,7 @@ title: Introduction --- -https://www.youtube.com/watch?v=dQw4w9WgXcQ +Tensamin is a decentralised messaging service that puts you in full control of your messages. You self-host an 'Iota', which stores all your user settings and messages. You can host the Iota wherever you want, and as long as it is created outside of the host, it will not be possible to decrypt and read your messages. This means that Iota hosting services can exist in case you would prefer not to host one yourself. -Tensamin is built with love in Germany (Lower Saxony aka. the best state ever). I was explicitly asked to mention that Tensamin was created in Lower Saxony, so just so you know: Tensamin was created in Lower Saxony - -:::note - -> **Fun fact:** Tensamin was created and is being developed in Lower Saxony, Germany. +You can also host communities on these Iotas. These communities are extremely powerful as they enable you to create fully customisable plugins and channels in any programming language you choose by compiling them to WASM. This enables you to run a single programming language on both the server and the client. +Not only can you program custom channels, but you can also design them. You can create custom HTML and CSS for the channels, allowing for unique use cases. diff --git a/src/content/docs/installation.md b/src/content/docs/installation.md index 66d0184..3512b81 100644 --- a/src/content/docs/installation.md +++ b/src/content/docs/installation.md @@ -4,14 +4,13 @@ title: Installation # Client -You can download the client from our [Git](https://git.methanium.net/tensamin/client/releases) or directly from the [Homepage](https://tensamin.net). -We provide a `.deb`, `.rpm` and `.AppImage` +You can download the latest client from our [Git](https://git.methanium.net/tensamin/client/releases). It is available as a `.deb`, `.rpm`, `.AppImage` and a Nix Flake ### Nix Flake **flake.nix** -1. Add it to the inputs +1. Add Tensamin to your inputs ```nix { @@ -24,7 +23,7 @@ We provide a `.deb`, `.rpm` and `.AppImage` } ``` -2. Add it to the system packages +2. And add the package **configuration.nix** @@ -44,7 +43,7 @@ We provide a `.deb`, `.rpm` and `.AppImage` # Iota -We provide a docker container and binary download on our [Git](https://git.methanium.net/tensamin/iota/releases). +You can download the Iota from our [Git](https://git.methanium.net/tensamin/iota/releases) or run the docker image: ### Docker @@ -54,7 +53,7 @@ Using `docker run` docker run tensamin/iota:latest ``` -or using Docker-Compose +Using Docker-Compose ```yaml services: @@ -71,12 +70,3 @@ services: volumes: data: ``` - -### Build from source - -```bash -git clone https://github.com/Tensamin/Iota -cd Iota -cargo build --release -./target/release/iota -```