mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
refactor: remove web documentation
This commit is contained in:
parent
e04d071ca7
commit
4cbada21a7
7
pkg/resolver/formatter.go
Normal file
7
pkg/resolver/formatter.go
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
package resolver
|
||||||
|
|
||||||
|
type DID string
|
||||||
|
|
||||||
|
func (d DID) String() string {
|
||||||
|
return string(d)
|
||||||
|
}
|
@ -1,40 +0,0 @@
|
|||||||
# `sonr` - Sonr Chain
|
|
||||||
|
|
||||||
[](https://pkg.go.dev/github.com/onsonr/sonr)
|
|
||||||

|
|
||||||

|
|
||||||
[](https://sonr.io)
|
|
||||||
[](https://goreportcard.com/report/github.com/onsonr/sonr)
|
|
||||||
[](https://sonarcloud.io/summary/new_code?id=sonr-io_sonr)
|
|
||||||
|
|
||||||
> Sonr is a combination of decentralized primitives. Fundamentally, it is a peer-to-peer identity and asset management system that leverages DID documents, Webauthn, and IPFS—providing users with a secure, portable decentralized identity.
|
|
||||||
|
|
||||||
# Documentation
|
|
||||||
|
|
||||||
1. [Quick Start](https://github.com/onsonr/sonr/wiki/1-%E2%80%90-Quick-Start)
|
|
||||||
2. [Chain Modules](https://github.com/onsonr/sonr/wiki/2-%E2%80%90-Chain-Modules)
|
|
||||||
3. [System Architecture](https://github.com/onsonr/sonr/wiki/3-%E2%80%90-System-Architecture)
|
|
||||||
4. [Token Economy](https://github.com/onsonr/sonr/wiki/4-%E2%80%90-Token-Economy)
|
|
||||||
5. [Service Mangement](https://github.com/onsonr/sonr/wiki/5-%E2%80%90-Service-Management)
|
|
||||||
6. [Design System](https://github.com/onsonr/sonr/wiki/6-%E2%80%90-Design-System)
|
|
||||||
7. [Self Custody](https://github.com/onsonr/sonr/wiki/7-%E2%80%90-Self-Custody)
|
|
||||||
|
|
||||||
# Stats
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
# Acknowledgements
|
|
||||||
|
|
||||||
Sonr would not have been possible without the direct and indirect support of the following individuals:
|
|
||||||
|
|
||||||
- **Juan Benet**: For the IPFS Ecosystem.
|
|
||||||
- **Satoshi Nakamoto**: For Bitcoin.
|
|
||||||
- **Steve Jobs**: For User first UX.
|
|
||||||
- **Tim Berners-Lee**: For the Internet.
|
|
||||||
|
|
||||||
# Community & Support
|
|
||||||
|
|
||||||
- [Forum](https://github.com/onsonr/sonr/discussions)
|
|
||||||
- [Issues](https://github.com/onsonr/sonr/issues)
|
|
||||||
- [Twitter](https://sonr.io/twitter)
|
|
||||||
- [Dev Chat](https://sonr.io/discord)
|
|
@ -1,86 +0,0 @@
|
|||||||
version: "3"
|
|
||||||
vars:
|
|
||||||
ROOT_DIR:
|
|
||||||
sh: git rev-parse --show-toplevel
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
clean:
|
|
||||||
internal: true
|
|
||||||
cmds:
|
|
||||||
- rm -rf .task
|
|
||||||
- rm -rf pkg/design/node_modules
|
|
||||||
- rm -rf .out
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────╮
|
|
||||||
# │ Generate Commands │
|
|
||||||
# ╰──────────────────────────────────────────────────╯
|
|
||||||
|
|
||||||
gen:tailwind:
|
|
||||||
cmds:
|
|
||||||
- cd ./pkg/webapp && bun run build
|
|
||||||
- cp ./pkg/webapp/components/styles/styles.css ./cmd/hway/styles.css
|
|
||||||
|
|
||||||
gen:pkl:
|
|
||||||
sources:
|
|
||||||
- pkl/base.types/Ctx.pkl
|
|
||||||
- pkl/base.types/DWN.pkl
|
|
||||||
- pkl/base.types/ORM.pkl
|
|
||||||
cmds:
|
|
||||||
- for: sources
|
|
||||||
cmd: go run github.com/apple/pkl-go/cmd/pkl-gen-go {{ .ITEM }}
|
|
||||||
- task: clean
|
|
||||||
|
|
||||||
gen:templ:
|
|
||||||
cmds:
|
|
||||||
- templ generate
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────╮
|
|
||||||
# │ Build Commands │
|
|
||||||
# ╰──────────────────────────────────────────────────╯
|
|
||||||
build:motr:
|
|
||||||
env:
|
|
||||||
GOOS: js
|
|
||||||
GOARCH: wasm
|
|
||||||
cmds:
|
|
||||||
- go build -o build/app.wasm ./cmd/motr/main.go
|
|
||||||
|
|
||||||
build:hway:
|
|
||||||
cmds:
|
|
||||||
- task: gen:tailwind
|
|
||||||
- task: gen:templ
|
|
||||||
- go build -o build/hway ./cmd/hway/main.go
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────╮
|
|
||||||
# │ Serve Commands │
|
|
||||||
# ╰──────────────────────────────────────────────────╯
|
|
||||||
|
|
||||||
serve:hway:
|
|
||||||
cmds:
|
|
||||||
- task: build:hway
|
|
||||||
- ./build/hway
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────╮
|
|
||||||
# │ Deploy Commands │
|
|
||||||
# ╰──────────────────────────────────────────────────╯
|
|
||||||
deploy:buf:
|
|
||||||
dir: proto
|
|
||||||
cmds:
|
|
||||||
- bunx buf dep update
|
|
||||||
- bunx buf build
|
|
||||||
- bunx buf push
|
|
||||||
|
|
||||||
deploy:hway:
|
|
||||||
dir: cmd/hway
|
|
||||||
cmds:
|
|
||||||
- task: gen:design
|
|
||||||
- bunx wrangler deploy
|
|
||||||
|
|
||||||
deploy:pkl:
|
|
||||||
cmds:
|
|
||||||
- bunx pkl project package pkl/*/
|
|
||||||
- |
|
|
||||||
for dir in .out/*/; do
|
|
||||||
folder=$(basename "$dir")
|
|
||||||
rclone copy "$dir" "r2:pkljar/$folder"
|
|
||||||
done
|
|
||||||
- task: clean
|
|
Loading…
x
Reference in New Issue
Block a user