A work in progress

OpenClipArts, a work in progress

The oca project is an SVG explorer for the original openclipart project. Since has been down for over 6 months, I thought I'd give it a shot. You can have a look at the demo: (new domain coming soon).


GNU/Linux / Unix-like OS

This might work on MacOS and Microsoft Windows but I haven't tested it. Let me know!


You'll need Node.js. The quickest way to install it for your local user is the n-install bash script.

git and curl are required for n-install.

curl -L | bash

This will install the latest LTS, which is 12.13.0 at the time of this writing. You should restart your shell before using node and npm.


The project is currently using SVGs found in the openclipart 0.18 package. There hasn't been an update in a while (the SVGs date back to 2005) which is why I'm pointing to Debian Jessie, but later versions are identical.

The original tarball weighs in at 86 MiB, occupying 258 MiB when decompressed. Save it somewhere outside the oca directory. The following will create a openclipart-0.18+dfsg/ directory:

wget -o - | tar xzf -
cd openclipart-0.18+dfsg/clipart/
pwd # Note the directory [CLIPART_DIR], we'll need it later.


Move outside [CLIPART_DIR] and proceed with the installation.

git clone
cd oca
npm install
ln -s [CLIPART_DIR] # From the `openclipart` requirement above.
ln -s ../ pages/ # Link readme page.
node scripts/index # 2 minutes to generate `metadata.json` file.

At this point, your directory should look like this:

ls -1F

From git

  • components/
  • lib/
  • pages/
  • public/
  • scripts/
  • LICENSE.txt
  • next.config.js
  • package.json
  • package-lock.json
  • theme.js


  • clipart@
  • node_modules/
  • metadata.json


npm run dev

Point your browser at http://localhost:3000/ and edit files in components/ and pages/ and see them live-reload.

CTRL-C when you're done and want to generate a production build.


You'll need a production build at some point. First, make sure dev mode isn't running.

npm run build

This will generate a complete site instance with improved performance over the dev build.


Once you have a production build, you can start it with:

npm run start

Point your browser at http://localhost:3000/ and voilà, a production build! You can now proxy with through Nginx, Apache http, Caddy or your preferred web server and you're in business.

Comments? Suggestions?

First, see if there's already a GitHub issue. You can also email me if you prefer that.

Find out more about the project at our about page.



AGPL-v3 2019 © Robin Millette.

Clip arts

Public domain 2005 by various creators.