You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solid Cockpit is a web application for interacting with Solid Pods: authentication, data upload, query execution, and privacy management.
11
+
Solid Cockpit is a Vue web application for interacting with Solid Pods: authentication, data upload, pod browsing, SPARQL query execution, query caching, and privacy/ACL management.
12
12
13
13
This application was developed in the context of the CHIST-ERA TRIPLE project.
14
14
@@ -23,11 +23,12 @@ This application was developed in the context of the CHIST-ERA TRIPLE project.
23
23
24
24
Main capabilities:
25
25
26
-
- Solid Pod login and registration flow
27
-
- File upload and pod resource operations
28
-
- SPARQL querying over Solid Pods and endpoints
29
-
- Query caching support
30
-
- Privacy/ACL access management
26
+
- Solid Pod login, session display, and pod registration/selection
27
+
- File upload to typed or browsed pod container destinations
28
+
- Pod browsing with filtering, metadata inspection, download, move, rename, and delete operations
29
+
- SPARQL querying over Solid Pods, SPARQL endpoints, and mixed/federated sources
30
+
- Query cache records with result previews, filtering, sorting, rename, sharing, and deletion
31
+
- Privacy/ACL management with shared-with-me/shared-with-others records, notifications, and scheduled revocation
31
32
32
33
### Accessing the App
33
34
@@ -45,9 +46,13 @@ If you want to run locally, see [Developers](#developers).
45
46
46
47
### Usage Guides
47
48
48
-
TRIPLE onboarding guide:
49
+
In-app guides are available from the relevant page:
49
50
50
-
-[TRIPLE-guide.md](./TRIPLE-guide.md)
51
+
-`Home`: app overview and embedded video demonstration
52
+
-`Data Upload`: upload destination and file upload workflow
53
+
-`Pod Browser`: container browsing and resource operations
54
+
-`Data Query`: query execution, examples, query URLs, and cache workflow
55
+
-`Privacy Editing`: ACL editing, notifications, sharing records, and revocation scheduling
51
56
52
57
Solid Pod VoID file generation:
53
58
@@ -106,78 +111,98 @@ You can also use:
106
111
- Pinia
107
112
- Inrupt Solid client/auth libraries
108
113
- Comunica SPARQL engine
114
+
- YASQE/YASR query editor and result viewers
115
+
- npm-managed dependency workflow
116
+
117
+
### Source Layout
118
+
119
+
-`src/components/`: Vue UI components only
120
+
-`src/services/solid/`: Solid auth, pod access, upload, and ACL helper modules
121
+
-`src/services/query/`: query execution, parsing, and worker code
122
+
-`src/stores/`: Pinia state modules
109
123
110
124
### Prerequisites
111
125
112
-
- Node.js 20+
113
-
- Yarn 1.x (repo currently uses `yarn.lock`)
126
+
- Node.js 22.x (LTS recommended)
127
+
- npm 10+ (repo now uses `package-lock.json`)
128
+
- Do not use Yarn for this repo; npm is the supported package manager.
129
+
130
+
Node 24 note:
131
+
-`@inrupt/solid-client@3.x` currently declares support for Node `^20 || ^22`, so this repo pins to Node 22 for strict engine compatibility.
114
132
115
133
### Local Setup
116
134
117
135
Install dependencies:
118
136
119
137
```bash
120
-
yarn install
138
+
npm install
121
139
```
122
140
123
141
Run locally:
124
142
125
143
```bash
126
-
yarn dev
144
+
npm run dev
127
145
```
128
146
129
147
Build production assets:
130
148
131
149
```bash
132
-
yarn build
150
+
npm run build
151
+
```
152
+
153
+
If you hit a Node heap out-of-memory error during production builds, rerun with an increased heap size:
154
+
155
+
```bash
156
+
NODE_OPTIONS=--max-old-space-size=8192 npm run build
133
157
```
134
158
135
159
Preview production build:
136
160
137
161
```bash
138
-
yarn serve
162
+
npm run serve
139
163
```
140
164
141
165
### Scripts
142
166
143
167
| Script | Description |
144
168
| --- | --- |
145
-
|`yarn dev`| Start Vite development server |
146
-
|`yarn build`| Build production assets into `dist/`|
147
-
|`yarn serve`| Preview the production build locally |
148
-
|`yarn test:unit`| Run unit tests (Node built-in runner + TS loader) |
149
-
|`yarn test:unit:watch`| Run unit tests in watch mode |
150
-
|`yarn test:unit:coverage`| Run unit tests with coverage report generation |
0 commit comments