app-store/apps/affine/config.json
Hunam (Elie TD) 511c28150b
feat(app): add AFFiNE (#3069)
* feat: add AFFiNE

* fix: add min and max values to password field

* dezoom logo

* fix password error message

* change password requirements and error message

* change version to "stable"

* fix password min max in accordance to the regex validator

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add supported architectures

* refactor(affine): small changes in compose file

* fix(affine): change container names

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Stavros <steveiliop56@gmail.com>
2024-04-24 12:35:04 +03:00

53 lines
1.8 KiB
JSON

{
"name": "AFFiNE",
"id": "affine",
"available": true,
"short_desc": "AFFiNE is a workspace with fully merged docs, whiteboards and databases.",
"author": "https://github.com/toeverything",
"port": 3010,
"categories": [
"utilities"
],
"description": "AFFiNE is a workspace with fully merged docs, whiteboards and databases. A privacy-focused, local-first, open-source, and ready-to-use alternative for Notion & Miro. Docs, canvas and tables are hyper-merged with AFFiNE - just like the word affine",
"tipi_version": 1,
"version": "stable",
"source": "https://github.com/toeverything/affine",
"website": "https://affine.pro",
"exposable": true,
"form_fields": [
{
"env_variable": "AFFINE_ADMIN_EMAIL",
"label": "Admin Email",
"pattern_error": "Invalid email",
"regex": "^[\\w\\-\\.]+@([\\w-]+\\.)+[\\w-]{2,}$",
"required": true,
"type": "text"
},
{
"env_variable": "AFFINE_ADMIN_PASSWORD",
"label": "Admin Password",
"pattern_error": "Invalid password: Must have 1 lowercase, 1 uppercase, 1 special character, 1 digit and no $.",
"regex": "^(?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[^\\w\\d\\s:])([^\\s$]){8,128}$",
"required": true,
"type": "password",
"min": 8,
"max": 128
},
{
"env_variable": "AFFINE_TELEMETRY_ENABLE",
"label": "Enable affine telemetry?",
"required": false,
"type": "boolean"
},
{
"env_variable": "AFFINE_POSTGRES_PASSWORD",
"label": "Affine postgres password",
"type": "random",
"min": 32
}
],
"supported_architectures": [
"arm64",
"amd64"
]
}