diff --git a/blueprints/anse/docker-compose.yml b/blueprints/anse/docker-compose.yml new file mode 100644 index 00000000..3858dc00 --- /dev/null +++ b/blueprints/anse/docker-compose.yml @@ -0,0 +1,15 @@ +version: "3.8" + +services: + anse-demo: + image: ddiu8081/anse:latest + restart: always + expose: + - 3000 + environment: + - OPENAI_API_KEY=${OPENAI_API_KEY} + - OPENAI_API_BASE_URL=${OPENAI_API_BASE_URL} + - HEAD_SCRIPTS=${HEAD_SCRIPTS} + - SECRET_KEY=${SECRET_KEY} + - SITE_PASSWORD=${SITE_PASSWORD} + - OPENAI_API_MODEL=${OPENAI_API_MODEL} diff --git a/blueprints/anse/image.png b/blueprints/anse/image.png new file mode 100644 index 00000000..2f920196 Binary files /dev/null and b/blueprints/anse/image.png differ diff --git a/blueprints/anse/template.toml b/blueprints/anse/template.toml new file mode 100644 index 00000000..fad08d18 --- /dev/null +++ b/blueprints/anse/template.toml @@ -0,0 +1,18 @@ +[variables] +main_domain = "${domain}" +secret_key = "${password:32}" +site_password = "${password:16}" + +[config] +[[config.domains]] +serviceName = "anse-demo" +port = 3000 +host = "${main_domain}" + +[config.env] +OPENAI_API_KEY = "" +OPENAI_API_BASE_URL = "https://api.openai.com" +HEAD_SCRIPTS = "" +SECRET_KEY = "${secret_key}" +SITE_PASSWORD = "${site_password}" +OPENAI_API_MODEL = "gpt-4o-mini" \ No newline at end of file diff --git a/meta.json b/meta.json index 8592769f..30966e95 100644 --- a/meta.json +++ b/meta.json @@ -208,6 +208,24 @@ "privacy" ] }, + { + "id": "anse", + "name": "Anse", + "version": "latest", + "description": "Anse is an open-source alternative to ChatGPT web UI, supporting OpenAI-compatible APIs.", + "logo": "image.png", + "links": { + "github": "https://github.com/ddiu8081/anse", + "website": "https://anse.app/", + "docs": "https://github.com/ddiu8081/anse#readme" + }, + "tags": [ + "ai", + "chatbot", + "openai", + "ui" + ] + }, { "id": "answer", "name": "Answer",