Podiumkunst.net widget is a tool designed for websites to display detailed information about works and people in the performing arts. Leveraging Linked Open Data, it provides a rich dataset encompassing various aspects of culture such as operas, theaters, composers, and more.
These instructions will get your copy of the project up and running on your local machine for development and testing purposes.
What you need to install the software and how to install them.
- Node.js (v18 or more)
- pnpm
A step-by-step series of examples that tell you how to get a development environment running.
- Clone the repository:
git clone
https://github.com/PodiumkunstNet/widget
- Navigate to the project directory:
cd widget - Install dependencies: pnpm install
- Start the development server: pnpm dev
Now the project should be running on http://localhost:3000
.
-
Configuration Page -
http://localhost:3000/configure
Configure a widget here by entering an ID for a work. -
Widget Page -
http://localhost:3000/widget
This is the actual widget that can be embedded into websites via an iframe. Access the widget with URL parameters to view information about a specific cultural work or figure. For example, usehttp://localhost:3000/widget?id=http://example.com/pknet/testWorkZF&type=work
to access information about a particular work.
To create a production build, run: pnpm build
This will generate all build files in the public folder.