diff --git a/apps/slash/0.4.1/.env.sample b/apps/slash/0.4.1/.env.sample new file mode 100644 index 00000000..6ae5b4f0 --- /dev/null +++ b/apps/slash/0.4.1/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="slash" +PANEL_APP_PORT_HTTP="40114" +DATA_PATH="./data" diff --git a/apps/slash/0.4.1/data.yml b/apps/slash/0.4.1/data.yml new file mode 100644 index 00000000..feba5207 --- /dev/null +++ b/apps/slash/0.4.1/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40114 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/slash/0.4.1/docker-compose.yml b/apps/slash/0.4.1/docker-compose.yml new file mode 100644 index 00000000..6fb8edd5 --- /dev/null +++ b/apps/slash/0.4.1/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + slash: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:5231" + volumes: + - "${DATA_PATH}:/var/opt/slash" + image: yourselfhosted/slash:0.4.1 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/slash/README.md b/apps/slash/README.md new file mode 100644 index 00000000..6cc4dc9d --- /dev/null +++ b/apps/slash/README.md @@ -0,0 +1,37 @@ +# Slash + +logo + +**Slash** is an open source, self-hosted bookmarks and link sharing platform. It allows you to organize your links with tags, and share them using custom shortened URLs. Slash also supports team sharing of link libraries for easy collaboration. + +

+ Discord + Docker pull + GitHub stars +

+ +![demo](https://github.com/boojack/slash/raw/main/resources/demo.png) + +## Features + +- Create customizable `/s/` short links for any URL. +- Share short links privately or with teammates. +- View analytics on link traffic and sources. +- Easy access to your shortcuts with browser extension. +- Open source self-hosted solution. + +## Deploy with Docker in seconds + +```bash +docker run -d --name slash -p 5231:5231 -v ~/.slash/:/var/opt/slash yourselfhosted/slash:latest +``` + +Learn more in [Self-hosting Slash with Docker](https://github.com/boojack/slash/blob/main/docs/install.md). + +## Browser Extension + +Slash provides a browser extension to help you use your shortcuts in the search bar to go to the corresponding URL. + +![browser-extension-example](https://github.com/boojack/slash/raw/main/resources/browser-extension-example.png) + +Learn more in [The Browser Extension of Slash](https://github.com/boojack/slash/blob/main/docs/install-browser-extension.md). \ No newline at end of file diff --git a/apps/slash/data.yml b/apps/slash/data.yml new file mode 100644 index 00000000..527a5a6f --- /dev/null +++ b/apps/slash/data.yml @@ -0,0 +1,20 @@ +name: Slash +tags: + - 工具 +title: 一个开源、自托管书签和链接共享平台 +type: 工具 +description: 一个开源、自托管书签和链接共享平台 +additionalProperties: + key: slash + name: Slash + tags: + - Tool + shortDescZh: 一个开源、自托管书签和链接共享平台 + shortDescEn: An open source, self-hosted bookmarks and link sharing platform + type: tool + crossVersionUpdate: false + limit: 0 + recommend: 0 + website: https://demo.slash.yourselfhosted.com/ + github: https://github.com/boojack/slash + document: https://github.com/boojack/slash/blob/main/docs/install.md diff --git a/apps/slash/latest/.env.sample b/apps/slash/latest/.env.sample new file mode 100644 index 00000000..6ae5b4f0 --- /dev/null +++ b/apps/slash/latest/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="slash" +PANEL_APP_PORT_HTTP="40114" +DATA_PATH="./data" diff --git a/apps/slash/latest/data.yml b/apps/slash/latest/data.yml new file mode 100644 index 00000000..feba5207 --- /dev/null +++ b/apps/slash/latest/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40114 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/slash/latest/docker-compose.yml b/apps/slash/latest/docker-compose.yml new file mode 100644 index 00000000..7f41f7f2 --- /dev/null +++ b/apps/slash/latest/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + slash: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:5231" + volumes: + - "${DATA_PATH}:/var/opt/slash" + image: yourselfhosted/slash:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/slash/logo.png b/apps/slash/logo.png new file mode 100644 index 00000000..48e53427 Binary files /dev/null and b/apps/slash/logo.png differ