diff --git a/apps/ugly-avatar/README.md b/apps/ugly-avatar/README.md new file mode 100644 index 00000000..776c1195 --- /dev/null +++ b/apps/ugly-avatar/README.md @@ -0,0 +1,3 @@ +# ugly-face + +This project is under Attribution-NonCommercial 4.0 International License. This means no commercial use for the project. I thought about this for a time. If you want to use this as part of your website that needs an avatar generator, you are free to use it. If you however, buid an app solely on this code as your main project, I am highly against that practice. I don't want to have the frustration of "oh someone copied my code and made money with it". diff --git a/apps/ugly-avatar/data.yml b/apps/ugly-avatar/data.yml new file mode 100644 index 00000000..0b87b100 --- /dev/null +++ b/apps/ugly-avatar/data.yml @@ -0,0 +1,19 @@ +name: Ugly Avatar +tags: + - 实用工具 +title: 丑陋头像生成器 +description: 丑陋头像生成器 +additionalProperties: + key: ugly-avatar + name: Ugly Avatar + tags: + - Tool + shortDescZh: 丑陋头像生成器 + shortDescEn: Ugly Avatar Generator + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://txstc55.github.io/ugly-avatar + github: https://github.com/txstc55/ugly-avatar + document: https://github.com/txstc55/ugly-avatar diff --git a/apps/ugly-avatar/latest/.env.sample b/apps/ugly-avatar/latest/.env.sample new file mode 100644 index 00000000..5b4c6dfb --- /dev/null +++ b/apps/ugly-avatar/latest/.env.sample @@ -0,0 +1,2 @@ +CONTAINER_NAME="ugly-avatar" +PANEL_APP_PORT_HTTP="40240" diff --git a/apps/ugly-avatar/latest/data.yml b/apps/ugly-avatar/latest/data.yml new file mode 100644 index 00000000..b7ccf5a5 --- /dev/null +++ b/apps/ugly-avatar/latest/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 40240 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number diff --git a/apps/ugly-avatar/latest/docker-compose.yml b/apps/ugly-avatar/latest/docker-compose.yml new file mode 100644 index 00000000..6eaabbcf --- /dev/null +++ b/apps/ugly-avatar/latest/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3' +services: + ugly-avatar: + image: joesonshaw/ugly-face:latest + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:80" + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/apps/ugly-avatar/logo.png b/apps/ugly-avatar/logo.png new file mode 100644 index 00000000..9cec3e62 Binary files /dev/null and b/apps/ugly-avatar/logo.png differ