This project provides a simple interface for interacting with a Solid POD using a local instance of the Community Solid Server (CSS) or a remote Solid POD (like solidcommunity.net
). It enables users to:
- Read Profile Information: View profile data from a Solid POD WebID.
- Write to Profile: Update profile information (e.g., name) in the Solid POD.
- Upload Files: Upload files to a specified container within the POD, creating the container if it doesn't exist.
-
Clone the repository:
git clone https://github.com/tdiprima/solid-pod-app.git cd solid-pod-app
-
Install dependencies:
npm install
-
Configure Vite: Ensure
vite
is installed globally, or you can install it locally in this project:npm install -g create-vite
-
Replace all instances of http://localhost:3000/Tammy-DiPrima/* with your POD url.
-
Start the Vite development server:
npm run dev
- Run Local Community Solid Server: If using CSS on
localhost
, start it on the appropriate port (usually3000
). - Open the Application: Navigate to
http://localhost:5173
to access the interface. - Authenticate: Log in with your Solid POD credentials.
- Read Profile: Enter a WebID to fetch profile information.
- Write Profile: Update profile details (e.g., name).
- Upload Files: Select a file to upload to your POD's
/public
container.
- Node.js and npm
- Vite for local development and live reloading
- @inrupt/solid-client and @inrupt/solid-client-authn-browser for interacting with Solid PODs
- This project has been tested with both a local Community Solid Server (CSS) and
solidcommunity.net
. - Make sure the specified upload container (e.g.,
/public
) exists on your POD. The upload script will create it if missing.
This project is open-source and available under the MIT License.