https://github.com/dev-protocol/clubs-plugin-akiba
https://github.com/dev-protocol/clubs-plugin-akiba
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dev-protocol/clubs-plugin-akiba
- Owner: dev-protocol
- License: mpl-2.0
- Created: 2024-09-09T02:19:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-09T15:15:36.000Z (7 months ago)
- Last Synced: 2025-07-09T16:30:22.496Z (7 months ago)
- Language: TypeScript
- Size: 25 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clubs Plugin Starter Kit
- ### [🔰 Plugin basics](https://docs.devprotocol.xyz/clubs/basics/plugins)
- ### [⏩ Check all interfaces](https://docs.devprotocol.xyz/clubs/guides/plugin)
- ### [🛥️ How to publish your plugin](https://docs.devprotocol.xyz/clubs/guides/publish)
## Local development
Update some files under `src` and see how them work locally. By running the following command, the local server will be launched:
```bash
yarn preview
```
Now you can check the plugin on Clubs with SSR turned on. Clubs also supports static builds, so you can check the behavior on a static build environment with the following command.
```bash
yarn preview:static
```
## Files and directories
## src/
`src` directory manages all source files for this plugin you are developing.
## .preview/
`.preview` directory has 2 minimal implementations of Clubs, for SSR builds and static builds, and serves locally to debug this plugin you are developing.
The directory contains some boilerplate files that do not need to be edited, and some files whose values can be rewritten to debug the plugin.
The following files are intended to be rewritten for debugging purposes:
- `.preview/config.ts`
- `.preview/plugins.ts`
The following files are boilerplate and there is no need to rewrite them bacically:
- all files under `.preview/preview.ssr`
- all files under `.preview/preview.static`
Also, all files under `.preview/theme` are minimal theme for debugging and doesn't need to be rewritten, but of course, it's perfectly fine to rewrite them freely for debugging your plugin.