Skip to content

Commit 3a52d5d

Browse files
authored
Merge pull request #11 from gzuuus/update-d
update dependencies
2 parents 986c5bd + 9e2bffc commit 3a52d5d

33 files changed

Lines changed: 1737 additions & 2627 deletions

README.md

Lines changed: 33 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,45 @@
11
# Nostree
2+
23
![nostree-banner](https://image.nostr.build/cf78fa7b9a80ee8845d967324da64736d12704590fcbe3c9f7142444ddce4cf9.jpg)
34

45
> Nostree is a link tree style nostr client, it allows you to create and manage lists of links that you can share with anyone. You can create as many lists as you like and they will be displayed in your profile. You can also edit or delete the lists.
56
67
## Motivation
8+
79
[nostr](https://github.com/nostr-protocol/) its an open protocol under a public domain licence, which ensures its openness, the protocol aims to be decentralised, uncensorable, sovereign and very portable, these values resonate in the mind of every person seeking freedom in this world that its becoming more and more unfree. Nostree porsuis these values as well, and its the main focus and motivation behind this project, its free to use, data its owned by you and the relays of the network, and signed by yourself, you can use it with whatever nostr key and no more, no emails, phone numbers, personal data, etc.
810

911
## Filosophy
12+
1013
Nostree is an open source client, the actual licence is GPL-3 which ensures the project will remain open source, but the intention is to make it as open as possible without compromising it's open source esence, the project is open to a licence change if the community requires it.
1114

1215
As this project was founded by [openSats](https://opensats.org/), PRs and collaboration is encouraged and they will be eligible to receive bounties, please feel free to open PRs or issues.
1316

1417
## Roadmap
18+
1519
This roadmap is only a draft of the direction of the project, it can be changed, modified and expanded, if you have more ideas, please consider adding an issue or PR presenting them.
1620

17-
- [x] List creation
18-
- [x] List output
19-
- [x] Delete list
20-
- [x] List forking
21-
- [x] List unique identifiers
22-
- [x] List slugs (for shorter and more memorable urls)
23-
- [x] Hashtags
24-
- [x] Simple share button
25-
- [x] Migration to TailwindCSS
26-
- [x] Theming system with ability to set themes for users
27-
- [ ] Theme generator
28-
- [ ] Docs
29-
- [ ] Edit profile
30-
- [ ] Follow button
31-
- [ ] On boarding
32-
- [ ] Calendar events
33-
- [ ] Live streaming events
34-
- [ ] Cache system
35-
- [ ] Offline lists
36-
- [ ] Nip-15 market/stall integration
37-
- [ ] Autoplay music/media lists
38-
- [ ] Expanded personal pages, with more stuff (articles, notes, etc)
21+
- [x] List creation
22+
- [x] List output
23+
- [x] Delete list
24+
- [x] List forking
25+
- [x] List unique identifiers
26+
- [x] List slugs (for shorter and more memorable urls)
27+
- [x] Hashtags
28+
- [x] Simple share button
29+
- [x] Migration to TailwindCSS
30+
- [x] Theming system with ability to set themes for users
31+
- [x] Cache system
32+
- [ ] Theme generator
33+
- [ ] Docs
34+
- [ ] Edit profile
35+
- [ ] Follow button
36+
- [ ] On boarding
37+
- [ ] Calendar events
38+
- [ ] Live streaming events
39+
- [ ] Offline lists
40+
- [ ] Nip-15 market/stall integration
41+
- [ ] Autoplay music/media lists
42+
- [ ] Expanded personal pages, with more stuff (articles, notes, etc)
3943

4044
### Case study
4145

@@ -45,12 +49,13 @@ This roadmap is only a draft of the direction of the project, it can be changed,
4549

4650
{
4751
...
48-
"kind": 30001,
52+
"kind": 30003,
4953
"content": "",
5054
"tags": [
5155
["d", "nostree-{uuidv4}"],
5256
["title", "Link Title"],
53-
["summary", "List summary"]
57+
["description", "List description"],
58+
["L", "me.nostree.ontology"]
5459
["image", "https://nostr.build/i/518262ea28232ace1eee250038d7657d70a0a186bb05f73c7a715e948c499a3a.jpg"],
5560
["r", "https://link1.com", "link1"],
5661
["r", "mailto:email@example.com", "link2"],
@@ -64,7 +69,9 @@ This roadmap is only a draft of the direction of the project, it can be changed,
6469
...
6570
}
6671
```
67-
### List of valid prefixes
72+
73+
### List of valid prefixes
74+
6875
```json
6976
"http://",
7077
"https://",
@@ -77,4 +84,4 @@ This roadmap is only a draft of the direction of the project, it can be changed,
7784
"ssh://",
7885
"irc://",
7986
"magnet:",
80-
```
87+
```

nostree-theme.ts

Lines changed: 100 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,101 @@
1-
import type { CustomThemeConfig } from "@skeletonlabs/tw-plugin";
1+
import type { CustomThemeConfig } from "@skeletonlabs/tw-plugin";
22

3-
export const nostreeTheme: CustomThemeConfig = {
4-
name: "nostree-theme",
5-
properties: {
6-
// =~= Theme Properties =~=
7-
"--theme-font-family-base": `Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,
8-
"--theme-font-family-heading": `Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,
9-
"--theme-font-color-base": "0 0 0",
10-
"--theme-font-color-dark": "255 255 255",
11-
"--theme-rounded-base": "9999px",
12-
"--theme-rounded-container": "16px",
13-
"--theme-border-base": "1px",
14-
// =~= Theme On-X Colors =~=
15-
"--on-primary": "0 0 0",
16-
"--on-secondary": "0 0 0",
17-
"--on-tertiary": "0 0 0",
18-
"--on-success": "0 0 0",
19-
"--on-warning": "0 0 0",
20-
"--on-error": "0 0 0",
21-
"--on-surface": "255 255 255",
22-
// =~= Theme Colors =~=
23-
// primary | #ffa348
24-
"--color-primary-50": "255 241 228", // #fff1e4
25-
"--color-primary-100": "255 237 218", // #ffedda
26-
"--color-primary-200": "255 232 209", // #ffe8d1
27-
"--color-primary-300": "255 218 182", // #ffdab6
28-
"--color-primary-400": "255 191 127", // #ffbf7f
29-
"--color-primary-500": "255 163 72", // #ffa348
30-
"--color-primary-600": "230 147 65", // #e69341
31-
"--color-primary-700": "191 122 54", // #bf7a36
32-
"--color-primary-800": "153 98 43", // #99622b
33-
"--color-primary-900": "125 80 35", // #7d5023
34-
// secondary | #6bc187
35-
"--color-secondary-50": "233 246 237", // #e9f6ed
36-
"--color-secondary-100": "225 243 231", // #e1f3e7
37-
"--color-secondary-200": "218 240 225", // #daf0e1
38-
"--color-secondary-300": "196 230 207", // #c4e6cf
39-
"--color-secondary-400": "151 212 171", // #97d4ab
40-
"--color-secondary-500": "107 193 135", // #6bc187
41-
"--color-secondary-600": "96 174 122", // #60ae7a
42-
"--color-secondary-700": "80 145 101", // #509165
43-
"--color-secondary-800": "64 116 81", // #407451
44-
"--color-secondary-900": "52 95 66", // #345f42
45-
// tertiary | #3584e4
46-
"--color-tertiary-50": "225 237 251", // #e1edfb
47-
"--color-tertiary-100": "215 230 250", // #d7e6fa
48-
"--color-tertiary-200": "205 224 248", // #cde0f8
49-
"--color-tertiary-300": "174 206 244", // #aecef4
50-
"--color-tertiary-400": "114 169 236", // #72a9ec
51-
"--color-tertiary-500": "53 132 228", // #3584e4
52-
"--color-tertiary-600": "48 119 205", // #3077cd
53-
"--color-tertiary-700": "40 99 171", // #2863ab
54-
"--color-tertiary-800": "32 79 137", // #204f89
55-
"--color-tertiary-900": "26 65 112", // #1a4170
56-
// success | #6bc187
57-
"--color-success-50": "233 246 237", // #e9f6ed
58-
"--color-success-100": "225 243 231", // #e1f3e7
59-
"--color-success-200": "218 240 225", // #daf0e1
60-
"--color-success-300": "196 230 207", // #c4e6cf
61-
"--color-success-400": "151 212 171", // #97d4ab
62-
"--color-success-500": "107 193 135", // #6bc187
63-
"--color-success-600": "96 174 122", // #60ae7a
64-
"--color-success-700": "80 145 101", // #509165
65-
"--color-success-800": "64 116 81", // #407451
66-
"--color-success-900": "52 95 66", // #345f42
67-
// warning | #f8e45c
68-
"--color-warning-50": "254 251 231", // #fefbe7
69-
"--color-warning-100": "254 250 222", // #fefade
70-
"--color-warning-200": "253 248 214", // #fdf8d6
71-
"--color-warning-300": "252 244 190", // #fcf4be
72-
"--color-warning-400": "250 236 141", // #faec8d
73-
"--color-warning-500": "248 228 92", // #f8e45c
74-
"--color-warning-600": "223 205 83", // #dfcd53
75-
"--color-warning-700": "186 171 69", // #baab45
76-
"--color-warning-800": "149 137 55", // #958937
77-
"--color-warning-900": "122 112 45", // #7a702d
78-
// error | #f66151
79-
"--color-error-50": "254 231 229", // #fee7e5
80-
"--color-error-100": "253 223 220", // #fddfdc
81-
"--color-error-200": "253 216 212", // #fdd8d4
82-
"--color-error-300": "251 192 185", // #fbc0b9
83-
"--color-error-400": "249 144 133", // #f99085
84-
"--color-error-500": "246 97 81", // #f66151
85-
"--color-error-600": "221 87 73", // #dd5749
86-
"--color-error-700": "185 73 61", // #b9493d
87-
"--color-error-800": "148 58 49", // #943a31
88-
"--color-error-900": "121 48 40", // #793028
89-
// surface | #8743db
90-
"--color-surface-50": "237 227 250", // #ede3fa
91-
"--color-surface-100": "231 217 248", // #e7d9f8
92-
"--color-surface-200": "225 208 246", // #e1d0f6
93-
"--color-surface-300": "207 180 241", // #cfb4f1
94-
"--color-surface-400": "171 123 230", // #ab7be6
95-
"--color-surface-500": "135 67 219", // #8743db
96-
"--color-surface-600": "122 60 197", // #7a3cc5
97-
"--color-surface-700": "101 50 164", // #6532a4
98-
"--color-surface-800": "81 40 131", // #512883
99-
"--color-surface-900": "66 33 107", // #42216b
100-
101-
}
102-
}
3+
export const nostreeTheme: CustomThemeConfig = {
4+
name: "nostree-theme",
5+
properties: {
6+
// =~= Theme Properties =~=
7+
"--theme-font-family-base": `Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,
8+
"--theme-font-family-heading": `Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,
9+
"--theme-font-color-base": "0 0 0",
10+
"--theme-font-color-dark": "255 255 255",
11+
"--theme-rounded-base": "9999px",
12+
"--theme-rounded-container": "16px",
13+
"--theme-border-base": "1px",
14+
// =~= Theme On-X Colors =~=
15+
"--on-primary": "0 0 0",
16+
"--on-secondary": "0 0 0",
17+
"--on-tertiary": "0 0 0",
18+
"--on-success": "0 0 0",
19+
"--on-warning": "0 0 0",
20+
"--on-error": "0 0 0",
21+
"--on-surface": "255 255 255",
22+
// =~= Theme Colors =~=
23+
// primary | #ffa348
24+
"--color-primary-50": "255 241 228", // #fff1e4
25+
"--color-primary-100": "255 237 218", // #ffedda
26+
"--color-primary-200": "255 232 209", // #ffe8d1
27+
"--color-primary-300": "255 218 182", // #ffdab6
28+
"--color-primary-400": "255 191 127", // #ffbf7f
29+
"--color-primary-500": "255 163 72", // #ffa348
30+
"--color-primary-600": "230 147 65", // #e69341
31+
"--color-primary-700": "191 122 54", // #bf7a36
32+
"--color-primary-800": "153 98 43", // #99622b
33+
"--color-primary-900": "125 80 35", // #7d5023
34+
// secondary | #6bc187
35+
"--color-secondary-50": "233 246 237", // #e9f6ed
36+
"--color-secondary-100": "225 243 231", // #e1f3e7
37+
"--color-secondary-200": "218 240 225", // #daf0e1
38+
"--color-secondary-300": "196 230 207", // #c4e6cf
39+
"--color-secondary-400": "151 212 171", // #97d4ab
40+
"--color-secondary-500": "107 193 135", // #6bc187
41+
"--color-secondary-600": "96 174 122", // #60ae7a
42+
"--color-secondary-700": "80 145 101", // #509165
43+
"--color-secondary-800": "64 116 81", // #407451
44+
"--color-secondary-900": "52 95 66", // #345f42
45+
// tertiary | #3584e4
46+
"--color-tertiary-50": "225 237 251", // #e1edfb
47+
"--color-tertiary-100": "215 230 250", // #d7e6fa
48+
"--color-tertiary-200": "205 224 248", // #cde0f8
49+
"--color-tertiary-300": "174 206 244", // #aecef4
50+
"--color-tertiary-400": "114 169 236", // #72a9ec
51+
"--color-tertiary-500": "53 132 228", // #3584e4
52+
"--color-tertiary-600": "48 119 205", // #3077cd
53+
"--color-tertiary-700": "40 99 171", // #2863ab
54+
"--color-tertiary-800": "32 79 137", // #204f89
55+
"--color-tertiary-900": "26 65 112", // #1a4170
56+
// success | #6bc187
57+
"--color-success-50": "233 246 237", // #e9f6ed
58+
"--color-success-100": "225 243 231", // #e1f3e7
59+
"--color-success-200": "218 240 225", // #daf0e1
60+
"--color-success-300": "196 230 207", // #c4e6cf
61+
"--color-success-400": "151 212 171", // #97d4ab
62+
"--color-success-500": "107 193 135", // #6bc187
63+
"--color-success-600": "96 174 122", // #60ae7a
64+
"--color-success-700": "80 145 101", // #509165
65+
"--color-success-800": "64 116 81", // #407451
66+
"--color-success-900": "52 95 66", // #345f42
67+
// warning | #f8e45c
68+
"--color-warning-50": "254 251 231", // #fefbe7
69+
"--color-warning-100": "254 250 222", // #fefade
70+
"--color-warning-200": "253 248 214", // #fdf8d6
71+
"--color-warning-300": "252 244 190", // #fcf4be
72+
"--color-warning-400": "250 236 141", // #faec8d
73+
"--color-warning-500": "248 228 92", // #f8e45c
74+
"--color-warning-600": "223 205 83", // #dfcd53
75+
"--color-warning-700": "186 171 69", // #baab45
76+
"--color-warning-800": "149 137 55", // #958937
77+
"--color-warning-900": "122 112 45", // #7a702d
78+
// error | #f66151
79+
"--color-error-50": "254 231 229", // #fee7e5
80+
"--color-error-100": "253 223 220", // #fddfdc
81+
"--color-error-200": "253 216 212", // #fdd8d4
82+
"--color-error-300": "251 192 185", // #fbc0b9
83+
"--color-error-400": "249 144 133", // #f99085
84+
"--color-error-500": "246 97 81", // #f66151
85+
"--color-error-600": "221 87 73", // #dd5749
86+
"--color-error-700": "185 73 61", // #b9493d
87+
"--color-error-800": "148 58 49", // #943a31
88+
"--color-error-900": "121 48 40", // #793028
89+
// surface | #8743db
90+
"--color-surface-50": "237 227 250", // #ede3fa
91+
"--color-surface-100": "231 217 248", // #e7d9f8
92+
"--color-surface-200": "225 208 246", // #e1d0f6
93+
"--color-surface-300": "207 180 241", // #cfb4f1
94+
"--color-surface-400": "171 123 230", // #ab7be6
95+
"--color-surface-500": "135 67 219", // #8743db
96+
"--color-surface-600": "122 60 197", // #7a3cc5
97+
"--color-surface-700": "101 50 164", // #6532a4
98+
"--color-surface-800": "81 40 131", // #512883
99+
"--color-surface-900": "66 33 107", // #42216b
100+
},
101+
};

package.json

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nostree",
3-
"version": "0.1.5",
3+
"version": "0.1.5.3",
44
"private": true,
55
"homepage": "https://nostree.me",
66
"scripts": {
@@ -14,46 +14,49 @@
1414
"format": "prettier --ignore-path .prettierignore -w ."
1515
},
1616
"devDependencies": {
17-
"@playwright/test": "^1.28.1",
18-
"@skeletonlabs/skeleton": "^2.3.0",
19-
"@skeletonlabs/tw-plugin": "^0.2.2",
20-
"@sveltejs/adapter-auto": "^2.0.0",
21-
"@sveltejs/adapter-cloudflare": "^2.3.1",
22-
"@sveltejs/kit": "^1.20.4",
17+
"@playwright/test": "^1.39.0",
18+
"@skeletonlabs/skeleton": "^2.5.0",
19+
"@skeletonlabs/tw-plugin": "^0.2.4",
20+
"@sveltejs/adapter-auto": "^2.1.1",
21+
"@sveltejs/adapter-cloudflare": "^2.3.3",
22+
"@sveltejs/kit": "^1.27.4",
2323
"@tailwindcss/forms": "^0.5.6",
24-
"@types/linkify-it": "^3.0.2",
24+
"@types/debounce": "^1.2.4",
25+
"@types/linkify-it": "^3.0.5",
2526
"@types/markdown-it": "^12.2.3",
26-
"@types/node": "^20.8.4",
27-
"@types/uuid": "^9.0.2",
28-
"@typescript-eslint/eslint-plugin": "^5.45.0",
29-
"@typescript-eslint/parser": "^5.45.0",
30-
"autoprefixer": "^10.4.14",
31-
"eslint": "^8.28.0",
32-
"eslint-config-prettier": "^8.5.0",
33-
"eslint-plugin-svelte": "^2.30.0",
34-
"postcss": "^8.4.24",
27+
"@types/node": "^20.9.0",
28+
"@types/uuid": "^9.0.7",
29+
"@typescript-eslint/eslint-plugin": "^5.62.0",
30+
"@typescript-eslint/parser": "^5.62.0",
31+
"autoprefixer": "^10.4.16",
32+
"eslint": "^8.53.0",
33+
"eslint-config-prettier": "^8.10.0",
34+
"eslint-plugin-svelte": "^2.35.0",
35+
"postcss": "^8.4.31",
3536
"postcss-load-config": "^4.0.1",
36-
"prettier": "^2.8.0",
37+
"prettier": "^2.8.8",
3738
"prettier-plugin-svelte": "^2.10.1",
38-
"svelte": "^4.0.0",
39-
"svelte-check": "^3.4.3",
40-
"tailwindcss": "^3.3.2",
41-
"tslib": "^2.4.1",
42-
"typescript": "^5.0.0",
43-
"vite": "^4.3.6"
39+
"svelte": "^4.2.3",
40+
"svelte-check": "^3.5.2",
41+
"tailwindcss": "^3.3.5",
42+
"tslib": "^2.6.2",
43+
"typescript": "^5.2.2",
44+
"vite": "^4.5.0"
4445
},
4546
"type": "module",
4647
"dependencies": {
4748
"@floating-ui/dom": "^1.5.3",
48-
"@nostr-dev-kit/ndk": "^0.8.23",
49-
"@nostr-dev-kit/ndk-cache-dexie": "0.8.21-1",
49+
"@nostr-dev-kit/ndk": "^2.0.6",
50+
"@nostr-dev-kit/ndk-cache-dexie": "2.0.6",
51+
"@nostr-dev-kit/ndk-svelte": "^2.0.6",
52+
"debounce": "^1.2.1",
5053
"dexie": "^3.2.4",
5154
"linkify-it": "^4.0.1",
52-
"markdown-it": "^13.0.1",
55+
"markdown-it": "^13.0.2",
5356
"nanoid": "^4.0.2",
54-
"nostr-tools": "^1.12.1",
57+
"nostr-tools": "^1.17.0",
5558
"qrcode-generator": "^1.4.4",
5659
"svelte-a11y-dialog": "^0.2.0",
57-
"uuid": "^9.0.0"
60+
"uuid": "^9.0.1"
5861
}
5962
}

0 commit comments

Comments
 (0)