feat:添加slash到列表(感谢网友包子叔的投稿)

This commit is contained in:
okxlin 2023-08-14 21:55:16 +08:00
parent 554a31edb9
commit bd256e4b2c
9 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="slash"
PANEL_APP_PORT_HTTP="40114"
DATA_PATH="./data"

17
apps/slash/0.4.1/data.yml Normal file
View File

@ -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

View File

@ -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

37
apps/slash/README.md Normal file
View File

@ -0,0 +1,37 @@
# Slash
<img align="right" src="./resources/logo.png" height="64px" alt="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.
<p>
<a href="https://discord.gg/QZqUuUAhDV"><img alt="Discord" src="https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5" /></a>
<a href="https://hub.docker.com/r/yourselfhosted/slash"><img alt="Docker pull" src="https://img.shields.io/docker/pulls/yourselfhosted/slash.svg" /></a>
<a href="https://github.com/boojack/slash/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/boojack/slash?logo=github" /></a>
</p>
![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).

20
apps/slash/data.yml Normal file
View File

@ -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

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="slash"
PANEL_APP_PORT_HTTP="40114"
DATA_PATH="./data"

View File

@ -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

View File

@ -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

BIN
apps/slash/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB