{"id":37859384,"url":"https://github.com/sealdice/sealdice-js-ext-template","last_synced_at":"2026-01-16T16:30:31.610Z","repository":{"id":65438919,"uuid":"592376955","full_name":"sealdice/sealdice-js-ext-template","owner":"sealdice","description":"海豹js扩展插件模板","archived":false,"fork":false,"pushed_at":"2025-09-13T02:25:22.000Z","size":63,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-13T04:19:28.390Z","etag":null,"topics":["sealdice","trpg"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sealdice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-23T15:50:08.000Z","updated_at":"2025-09-13T02:25:25.000Z","dependencies_parsed_at":"2024-06-23T04:55:33.485Z","dependency_job_id":"8648a353-f41e-4c2c-97b4-5dabfd831b8c","html_url":"https://github.com/sealdice/sealdice-js-ext-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/sealdice/sealdice-js-ext-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sealdice%2Fsealdice-js-ext-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sealdice%2Fsealdice-js-ext-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sealdice%2Fsealdice-js-ext-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sealdice%2Fsealdice-js-ext-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sealdice","download_url":"https://codeload.github.com/sealdice/sealdice-js-ext-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sealdice%2Fsealdice-js-ext-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sealdice","trpg"],"created_at":"2026-01-16T16:30:30.858Z","updated_at":"2026-01-16T16:30:31.570Z","avatar_url":"https://github.com/sealdice.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 海豹js扩展模板\n\n\n### 介绍\n\n一个简单易用的项目模板。\n\n使用esbuild编译代码，并将多个源码文件打包成一个。\n\n\n### 如何使用\n\nclone或下载项目，随后:\n\n```\nnpm install\nnpm run build\n```\n\n好的，现在你的项目被编译成功了，就在dist目录。\n\n默认的名字是`sealdce-js-ext.js`，其逻辑写在src/index.ts\n\n\n### 开发指南\n\n看这里，这边有大量的例子，以及海豹用户写的插件：\n\nhttps://github.com/sealdice/javascript\n\n由于无法动态调试，建议将纯逻辑部分独立编写，随后你就可以在调试编译后，用nodejs去验证你的想法:\n\n```\nnpm run build-dev\nnode ./dev/sealdice-js-ext.js\n```\n\n当然，不止是node，任何其他js环境都行，浏览器里也行。\n\n\n### 填写个人信息\n\n当插件开发完成后(或者开始开发时)，你需要修改几处地方：\n\n* header.txt 这个文件是你插件的描述信息\n\n* tools/build-config.js 最开头一行\"var filename = 'sealdce-js-ext.js';\"，改成你中意的名字，注意不要与现有的重名\n\n\n### 编译和发布\n\n```\nnpm run build\n```\n\n从dist目录找出你的编译结果，将其装入海豹测试并分享即可！\n\n当然，你也可以把你的劳动成果提交到这里：\n\nhttps://github.com/sealdice/javascript/tree/main/scripts\n\n这样用户就可以直接在海豹的插件面板进行安装了。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsealdice%2Fsealdice-js-ext-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsealdice%2Fsealdice-js-ext-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsealdice%2Fsealdice-js-ext-template/lists"}