https://github.com/regular/tre-svg-editor
https://github.com/regular/tre-svg-editor
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/regular/tre-svg-editor
- Owner: regular
- Created: 2021-08-27T06:49:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-16T07:33:20.000Z (over 4 years ago)
- Last Synced: 2025-05-31T22:10:18.512Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
tre-svg-editor
---
## Demo
### Clone this repo and install tre-cli-tools:
```
npm -g tre-cli-tools
```
### Run `tre init` to create an ssb network and all needed keypairs:
```
tre init
```
### Import the example svg
```
tre server run "tre import-files package.json" > msgs.json
```
You now have the message keys of the newly published messages in msgs.json. Put the contents of msg.json into .trerc under a new key named "tre". The message keys will then be available to the webapp.
### Run the webapp
```
bay-of-plenty -- demo.js
```
License: MIT