diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index d8b3d55a..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,87 +0,0 @@ -name: Build and Test Looksyk - -on: - push: - branches: [ main, stable, dev ] - paths-ignore: - - 'docs/**' - pull_request: - branches: [ main, stable, dev ] - paths-ignore: - - 'docs/**' - -jobs: - backend-test: - name: backend cargo test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install development files - run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev gettext libfontconfig1-dev pkg-config - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: cargo test --all-features - working-directory: ./backend - backend-formatting: - name: backend cargo fmt - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - components: rustfmt - - name: Check - run: cargo fmt --all -- --check - working-directory: ./backend - backend-clippy: - name: backend cargo clippy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install development files - run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev gettext libfontconfig1-dev pkg-config - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - components: clippy - - name: Check - run: cargo clippy --all-features -- -D warnings - working-directory: ./backend - frontend: - name: frontend build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: npm install and npm run CI commands - run: | - npm i - npm run build --configuration=production - working-directory: ./frontend/looksyk - frontend-lint: - name: frontend lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: npm install and npm run CI commands - run: | - npm i - npm run lint - working-directory: ./frontend/looksyk - application-wrapper: - name: application-wrapper build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: npm install and npm run CI commands - run: | - npm i - npm run publish - working-directory: ./application-wrapper/Looksyk - application-wrapper-lint: - name: application-wrapper lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: npm install and npm run CI commands - run: | - npm i - npm run lint - working-directory: ./application-wrapper/Looksyk \ No newline at end of file diff --git a/.github/workflows/deploy_appimage.yml b/.github/workflows/deploy_appimage.yml deleted file mode 100644 index d26b2dd2..00000000 --- a/.github/workflows/deploy_appimage.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Build AppImage - -on: - release: - types: [published] - -jobs: - build-appimage: - runs-on: ubuntu-latest - steps: - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - name: Checkout repository - uses: actions/checkout@v4 - - name: Install development files - run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev gettext libfontconfig1-dev pkg-config - - name: Build project - run: bash build.sh - - - name: Build AppImage - run: bash build-appimage.sh - - - name: Upload Looksyk-x86_64.AppImage - run: gh release upload "$GITHUB_REF_NAME" Looksyk-x86_64.AppImage --clobber - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/docker-to-docker-hub.yml b/.github/workflows/docker-to-docker-hub.yml deleted file mode 100644 index 698088b6..00000000 --- a/.github/workflows/docker-to-docker-hub.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Publish Looksyk to DockerHub - -on: - push: - tags: - - "v*.*.*" - - "v*.*.*-*" - branches: [ test-image-push ] - -jobs: - - build: - runs-on: ubuntu-latest - steps: - - - name: Checkout - uses: actions/checkout@v4 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build and push Looksyk - id: docker_build_looksyk - uses: docker/build-push-action@v6 - with: - context: . - file: ./Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: ${{ secrets.DOCKER_USERNAME }}/looksyk:latest diff --git a/.github/workflows/securityscan.yml b/.github/workflows/securityscan.yml deleted file mode 100644 index 948e6308..00000000 --- a/.github/workflows/securityscan.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Scan for security issues - -on: - push: - branches: [ main, dev ] - pull_request: - branches: [ main, stable, dev ] - -jobs: - backend-scan: - name: backend cargo scan - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - name: cargo audit - run: | - cargo install cargo-audit --locked - cargo audit - working-directory: ./backend - - frontend-scan: - name: frontend scan - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: npm install and scan - run: | - npm i - npm audit --audit-level=high - working-directory: ./frontend/looksyk - application-wrapper-scan: - name: application-wrapper scan - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: npm install and scan - run: | - npm i - npm audit --audit-level=high - working-directory: ./application-wrapper/Looksyk diff --git a/.github/workflows/test_build_appimage.yml b/.github/workflows/test_build_appimage.yml deleted file mode 100644 index a65a0897..00000000 --- a/.github/workflows/test_build_appimage.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Test Build AppImage - -on: - pull_request: - branches: [ stable ] - types: [ opened, synchronize, reopened ] - paths-ignore: - - '**.md' - -jobs: - build-appimage: - runs-on: ubuntu-latest - steps: - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Install development files - run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev gettext libfontconfig1-dev pkg-config - - - name: Build project - run: bash build.sh - - - name: Build AppImage - run: bash build-appimage.sh diff --git a/.github/workflows/test_ghpages.yml b/.github/workflows/test_ghpages.yml deleted file mode 100644 index ab456930..00000000 --- a/.github/workflows/test_ghpages.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Test 11ty to GitHub Pages - -on: - push: - branches: [ main, dev ] - pull_request: - branches: [ main, dev ] - -jobs: - build-deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install dependencies - run: | - cd docs - npm ci - - - name: Build 11ty site - run: | - cd docs - npm run build diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml deleted file mode 100644 index 2f23c549..00000000 --- a/.github/workflows/version-check.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Check Version Consistency -on: - pull_request: - branches: [ stable ] - types: [ opened, synchronize, reopened ] - base: [ stable ] - paths-ignore: - - '**.md' -jobs: - backend-test: - name: check versions - runs-on: ubuntu-latest - if: github.event.pull_request.head.ref == 'main' && github.event.pull_request.base.ref == 'stable' - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: cd deploy/version-checker && cargo run -- --version-path ../../.version.check.json --changelog-path ../../docs/changelog.md - working-directory: ./ \ No newline at end of file diff --git a/Readme.md b/Readme.md index d041290a..18a3c0d0 100644 --- a/Readme.md +++ b/Readme.md @@ -1,15 +1,13 @@ # Looksyk -![banner](docs/banner.png) +# Looksyk has moved to Codeberg. -![GithubCI](https://github.com/SebastianRzk/Looksyk/actions/workflows/build.yml/badge.svg?branch=stable) +# The new repository is located at: [https://codeberg.org/sebastianrzk/looksyk](https://codeberg.org/sebastianrzk/looksyk) -A simple personal knowledge platform with a focus on clean markdown files, simple queries and a journal. +You can find the latest updates, source code, and documentation there. Please update your bookmarks and follow the new repository for future developments. -## Find the documentation at [sebastianrzk.github.io/Looksyk](https://sebastianrzk.github.io/Looksyk/) +You can still find the old repository on GitHub, but it will no longer receive updates or support. For the best experience and to stay up-to-date with Looksyk, please visit the new Codeberg repository. -![intro animation](docs/intro_animation.gif) +Thank you for your understanding and continued support! -## License - -This project is licensed under the AGPL3 License - see the `LICENSE` file for details. +Issues and discussions will continue to be accepted on GitHub for a while longer. However, please note that the main development takes place on Codeberg, and meaningful pull requests can only be submitted there. \ No newline at end of file diff --git a/docs/.eleventy.js b/docs/.eleventy.js index 5f4fb137..edeb3e9d 100644 --- a/docs/.eleventy.js +++ b/docs/.eleventy.js @@ -5,6 +5,7 @@ module.exports = function(eleventyConfig) { eleventyConfig.addPassthroughCopy("usage"); eleventyConfig.addPassthroughCopy("*.png"); eleventyConfig.addPassthroughCopy("*.gif"); + eleventyConfig.addPassthroughCopy("*.svg"); eleventyConfig.addPassthroughCopy("google54a921dfd24bf498.html"); return { pathPrefix: config.pathPrefix, diff --git a/docs/_includes/base.njk b/docs/_includes/base.njk index f7e87ca5..83c035d8 100644 --- a/docs/_includes/base.njk +++ b/docs/_includes/base.njk @@ -10,6 +10,7 @@ {% include "menu.njk" %} + {% include "migration.njk" %}
@@ -21,10 +22,10 @@
+ {% include "migration.njk" %}
- {{ content | safe }}