solid-chat 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,17 @@
1
+ GNU AFFERO GENERAL PUBLIC LICENSE
2
+ Version 3, 19 November 2007
3
+
4
+ Copyright (C) 2024 Solid Chat Contributors
5
+
6
+ This program is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU Affero General Public License as published
8
+ by the Free Software Foundation, either version 3 of the License, or
9
+ (at your option) any later version.
10
+
11
+ This program is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU Affero General Public License for more details.
15
+
16
+ You should have received a copy of the GNU Affero General Public License
17
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
package/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # Solid Chat
2
+
3
+ Modern, decentralized chat app built on the [Solid](https://solidproject.org) protocol.
4
+
5
+ 🌐 **Live App:** [solid-chat.com/app](https://solid-chat.com/app)
6
+
7
+ ## Features
8
+
9
+ - Clean, modern messenger-style UI
10
+ - Decentralized - messages stored in your Solid pod
11
+ - Implements the [Solid Chat specification](https://solid.github.io/chat/)
12
+ - Works with any Solid pod provider
13
+ - Clickable WebID links on author names
14
+ - No React/heavy frameworks - vanilla JS
15
+
16
+ ## Quick Start
17
+
18
+ ```bash
19
+ # Clone the repo
20
+ git clone https://github.com/solid-chat/app.git
21
+ cd app
22
+
23
+ # Serve locally
24
+ npx serve .
25
+
26
+ # Open in browser
27
+ open http://localhost:3000
28
+ ```
29
+
30
+ ## Usage
31
+
32
+ 1. Enter a Solid chat URI in the input field
33
+ 2. Click "Load Chat" or press Enter
34
+ 3. Messages from the chat will be displayed
35
+
36
+ Example chat URIs:
37
+ - `https://solidos.solidcommunity.net/Team/SolidOs%20team%20chat/2022/02/09/chat.ttl`
38
+
39
+ ## Chat Data Format
40
+
41
+ The app expects Turtle/RDF data using standard Solid chat vocabularies:
42
+
43
+ ```turtle
44
+ @prefix flow: <http://www.w3.org/2005/01/wf/flow#>.
45
+ @prefix sioc: <http://rdfs.org/sioc/ns#>.
46
+ @prefix dct: <http://purl.org/dc/terms/>.
47
+ @prefix foaf: <http://xmlns.com/foaf/0.1/>.
48
+
49
+ <#this>
50
+ a <http://www.w3.org/ns/pim/meeting#LongChat> ;
51
+ flow:message :msg1 .
52
+
53
+ :msg1
54
+ a flow:Message ;
55
+ sioc:content "Hello world!" ;
56
+ dct:created "2024-12-30T10:00:00Z"^^xsd:dateTime ;
57
+ foaf:maker <https://example.com/profile#me> .
58
+ ```
59
+
60
+ ## Specification
61
+
62
+ This app implements the [Solid Chat specification](https://solid.github.io/chat/).
63
+
64
+ ## Roadmap
65
+
66
+ - [ ] Solid OIDC authentication
67
+ - [ ] Chat list sidebar
68
+ - [ ] Create new chats
69
+ - [ ] Real-time updates
70
+ - [ ] Nostr DID integration
71
+
72
+ ## License
73
+
74
+ See [LICENSE](LICENSE)
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "solid-chat",
3
+ "version": "0.0.1",
4
+ "description": "Modern chat panes for Solid pods - longChatPane and chatListPane",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "module": "src/index.js",
8
+ "exports": {
9
+ ".": "./src/index.js",
10
+ "./longChatPane": "./src/longChatPane.js",
11
+ "./chatListPane": "./src/chatListPane.js"
12
+ },
13
+ "files": [
14
+ "src/"
15
+ ],
16
+ "scripts": {
17
+ "start": "npx serve .",
18
+ "dev": "npx serve . -p 8080"
19
+ },
20
+ "peerDependencies": {
21
+ "rdflib": ">=2.2.0"
22
+ },
23
+ "keywords": [
24
+ "solid",
25
+ "chat",
26
+ "decentralized",
27
+ "messaging",
28
+ "rdf",
29
+ "linked-data",
30
+ "pane"
31
+ ],
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/solid-chat/app.git"
35
+ },
36
+ "bugs": {
37
+ "url": "https://github.com/solid-chat/app/issues"
38
+ },
39
+ "homepage": "https://solid-chat.com",
40
+ "author": "Solid Chat Contributors",
41
+ "license": "AGPL-3.0"
42
+ }