haste-server v1.0.6

飒爽师叔 · 2026-06-30 09:59

更新日志

[AI翻译] 描述、说明、JSON描述

版本内容

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
    "meta": {
        "version": "PTDL_v2",
        "update_url": "https://eggs.pterodactyl.top/eggs/8/download/egg-haste-server.json"
    },
    "exported_at": "2024-06-02T14:41:01+00:00",
    "name": "haste-server",
    "author": "eggs@harryw.link",
    "uuid": "c03613a3-4c8c-4bff-b138-e912b088d681",
    "description": "Haste 是一款基于 node.js 编写的开源粘贴板软件,可轻松安装于任何网络环境中。它支持以 redis 或文件系统作为后端存储,并提供了非常简便的适配器接口以对接其他存储方案。公开版本可在 hastebin.com 获取。",
    "features": null,
    "docker_images": {
        "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:nodejs_18": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:nodejs_18"
    },
    "file_denylist": [],
    "startup": "npm start",
    "config": {
        "files": "{\r\n    \"config.js\": {\r\n        \"parser\": \"json\",\r\n        \"find\": {\r\n            \"port\": \"{{server.build.default.port}}\"\r\n        }\r\n    }\r\n}",
        "startup": "{\r\n    \"done\": \"listening on\"\r\n}",
        "logs": "{}",
        "stop": "^C"
    },
    "scripts": {
        "installation": {
            "script": "#!/bin/bash\r\n\r\napt update\r\napt install -y git curl\r\nmkdir -p /mnt/server\r\ncd /mnt/server\r\n\r\ngit clone https://github.com/toptal/haste-server\r\ncd haste-server\r\nmv * /mnt/server\r\ncd ..\r\nrm -rf haste-server\r\nnpm install\r\n\r\nexit 0",
            "container": "node:18-bookworm-slim",
            "entrypoint": "bash"
        }
    },
    "variables": []
}