Skip to content

Commit

Permalink
Merge pull request #8 from ForkbombEu/refactoring
Browse files Browse the repository at this point in the history
refactoring
  • Loading branch information
puria authored Dec 26, 2024
2 parents e9cb846 + b25bc39 commit cb7ec32
Show file tree
Hide file tree
Showing 181 changed files with 2,643 additions and 1,357 deletions.
3 changes: 3 additions & 0 deletions .cruft.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Forkbomb Company

SPDX-License-Identifier: AGPL-3.0-or-later
File renamed without changes.
54 changes: 54 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# SPDX-FileCopyrightText: 2024 The Forkbomb Company
#
# SPDX-License-Identifier: AGPL-3.0-or-later

name: Deploy DIDimo docs

on:
push:
branches: [main]
paths: [docs/**/*]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
reuse:
name: 🚨 reuse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fsfe/reuse-action@v4

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: actions/configure-pages@v4
- run: |
bun i
bun run docs:build
working-directory: docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4
id: deployment
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
.bin/slangroom-exec
# SPDX-FileCopyrightText: 2024 The Forkbomb Company
#
# SPDX-License-Identifier: AGPL-3.0-or-later

docs/.vitepress/cache/
.bin/slangroom-exec
/pb
/tmp
/pb_data
.DS_Store
.env
pb.env
14 changes: 12 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
[submodule "admin/zencode/zenflows-crypto"]
path = admin/zencode/zenflows-crypto
# SPDX-FileCopyrightText: 2024 The Forkbomb Company
#
# SPDX-License-Identifier: AGPL-3.0-or-later

[submodule "zencode/zenflows-crypto"]
path = zencode/zenflows-crypto
url = https://github.com/interfacerproject/zenflows-crypto
[submodule "webapp/zenflows-crypto"]
path = webapp/zenflows-crypto
url = https://github.com/interfacerproject/zenflows-crypto
[submodule "webapp/client_zencode"]
path = webapp/client_zencode
url = https://github.com/ForkbombEu/client_zencode
[submodule "webapp/src/lib/openid-vc-typescript-json-schema"]
path = webapp/src/lib/openid-vc-typescript-json-schema
url = https://github.com/ForkbombEu/openid-vc-typescript-json-schema
4 changes: 2 additions & 2 deletions admin/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ RUN apk add --no-cache git

WORKDIR /app

COPY ./admin/go.mod ./admin/go.sum ./
COPY ./go.mod ./go.sum ./
RUN go mod download && go mod verify
COPY ./admin/ .
COPY ./ .
RUN git init
RUN rmdir zencode/zenflows-crypto
RUN git submodule add https://github.com/interfacerproject/zenflows-crypto zencode/zenflows-crypto
Expand Down
235 changes: 235 additions & 0 deletions LICENSES/AGPL-3.0-or-later.txt

Large diffs are not rendered by default.

170 changes: 170 additions & 0 deletions LICENSES/CC-BY-NC-SA-4.0.txt

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,14 @@ help: ## 🛟 Show this help message

# - Folder structure - #

ROOT_DIR= $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))

ADMIN = $(ROOT_DIR)/admin
ROOT_DIR = $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
ADMIN = $(ROOT_DIR)
AZC = $(ADMIN)/zencode/zenflows-crypto
PB = $(ADMIN)/pb
DATA = $(ADMIN)/pb_data

WEBAPP = $(ROOT_DIR)/webapp
WEBAPP = $(ROOT_DIR)/webapp
WCZ = $(WEBAPP)/client_zencode

BIN = $(ROOT_DIR)/.bin
BIN = $(ROOT_DIR)/.bin
SLANGROOM = $(BIN)/slangroom-exec

export PATH := $(BIN):$(PATH)
Expand Down
119 changes: 93 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,108 @@
# Didimo
<!--
SPDX-FileCopyrightText: 2024 Puria Nafisi Azizi
SPDX-FileCopyrightText: 2024 The Forkbomb Company
Your trustworthy compliance checker for decentralized identity solutions
SPDX-License-Identifier: CC-BY-NC-SA-4.0
-->

---
<div align="center">

## Setup
# DIDimo
## Your trustworthy compliance checker for decentralized identity solutions

### Backend
<img src="https://repository-images.githubusercontent.com/731107747/afa784ae-ee9f-4101-8cc8-440b839303d8" width="1000">
</div>
<br><br>

1. `cd admin && go build`
## 📋 DIDimo Features

### Frontend
DIDimo is a platform designed to ensure that credential issuers and verifiers within decentralized identity ecosystems are compliant with industry standards. Whether you're developing digital wallets, government identity projects, or decentralized apps, DIDimo offers:

1. `cd webapp && pnpm i`
- **Compliance Assessment**: Verify alignment with industry standards for secure and interoperable identity management.
- **Debugging Tools**: Real-time analysis and resolution of cryptographic protocol issues.
- **Interoperability Testing**: Ensure your services work seamlessly with other global systems.
- **Periodic Checks**: Schedule automated compliance checks to maintain ongoing compliance with evolving standards.

---
DIDimo is more than just a tool – it's a platform designed to foster trust, security, and innovation in the world of decentralized identity.

## Usage
## 🎯 Project Goals

### Backend
- **Promote Interoperability**: Facilitate the adoption of standardized identity solutions that work across various platforms and technologies.
- **Enhance Security**: Provide tools and resources that help developers create secure identity solutions, protecting user data and privacy.
- **Foster Trust**: Build a trustworthy ecosystem where credential issuers and verifiers can demonstrate their compliance with industry standards.
- **Support Innovation**: Encourage the development of cutting-edge identity solutions by providing essential tools for testing, debugging, and compliance checking.

```
cd admin
./pb serve
```
# 👉 [DOCUMENTATION](https://forkbombeu.github.io/DIDimo/)

### Frontend
Click the link above to dive into our comprehensive documentation, where you’ll find detailed information about how DIDimo works, how to get started, and how to make the most of its features.

```
cd webapp
cp .env.example .env
pnpm dev
```
<br>

## Usage with docker compose
<div id="toc">

```
docker compose build
docker compose up
```
### 🚩 Table of Contents

- [🚑 Community & support](#-community--support)
- [😍 Acknowledgements](#-acknowledgements)
- [👤 Contributing](#-contributing)
- [💼 License](#-license)

</div>

***
## 🚑 Community & support

**[📝 Documentation](https://forkbombeu.github.io/DIDimo/)** - Getting started and more.

**[🌱 Ecosystem 👈 🚧 WIP 🚧](https://github.com/forkbombeu/didimo_plugins)** - Plugins, resources, and more.

**[🚩 Issues](../../issues)** - Bugs end errors you encounter using didimo.

**[💬 Discussions](../../discussions)** - Get help, ask questions, request features, and discuss.


**[🔝 back to top](#toc)**

***
## 😍 Acknowledgements

Copyleft 🄯 2024 by [The Forkbomb Company](https://www.forkbomb.solutions), Amsterdam

<img align="left" src="https://github.com/ForkbombEu/DIDroom/raw/main/images/logo-ngi-trustchain-positive-rgb-PNG.png" width="145">

Supported by [NGI TRUSTCHAIN](https://trustchain.ngi.eu/), which is made possible with financial support from the European Commission's [Next Generation Internet](https://ngi.eu/) programme.

**[🔝 back to top](#toc)**

***
## 👤 Contributing

1. 🔀 [FORK IT](../../fork)
2. Create your feature branch `git checkout -b feature/branch`
3. Commit your changes `git commit -am 'feat: New feature\ncloses #398'`
4. Push to the branch `git push origin feature/branch`
5. Create a new Pull Request `gh pr create -f`
6. 🙏 Thank you


**[🔝 back to top](#toc)**

***
## 💼 License
DIDimo - Your Trustworthy Compliance Checker for Decentralized Identity Solutions
Copyleft 🄯 2024 The Forkbomb company, Amsterdam

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

**[🔝 back to top](#toc)**
15 changes: 15 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2024 Puria Nafisi Azizi
# SPDX-FileCopyrightText: 2024 The Forkbomb Company
#
# SPDX-License-Identifier: AGPL-3.0-or-later

version = 1
SPDX-PackageName = "DIDimo"
SPDX-PackageSupplier = "Puria Nafisi Azizi <[email protected]>"
SPDX-PackageDownloadLocation = "https://github.com/ForkbombEu/didimo"

[[annotations]]
path = ["webapp/static/emails", "webapp/.vscode/extensions.json", "webapp/src/app.postcss", "webapp/project.inlang/project_id", "webapp/.env.example", "webapp/.npmrc", "docs/index.md"]
precedence = "override"
SPDX-FileCopyrightText = "2024 The Forkbomb Company"
SPDX-License-Identifier = "AGPL-3.0-or-later"
6 changes: 0 additions & 6 deletions admin/.gitignore

This file was deleted.

68 changes: 0 additions & 68 deletions admin/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions admin/modd.conf

This file was deleted.

1 change: 0 additions & 1 deletion admin/pb_public

This file was deleted.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit cb7ec32

Please sign in to comment.