Static repository of JClic projects
This is a single-page HTML5 application used to publish repositories of JClic projects. A big instance of jclic-repo is currently running at [http://clic.xtec.cat/repo]
Built with Polymer 2.0 web components
How to check and build jclic-repo
If you work with Debian/Ubuntu, it's convenient to replace the original node.js packages for those provided by NodeSource.
jclic-repo was developed with Node.js Version 6.10, packaged by NodeSource.
npm to the latest version, run:
sudo npm install -g npm
sudo npm install -g bower polymer-cli
To install the remaining packages, just go to the project's root directory and run:
This will install the Polymer web components and other required packages into
The installation process can be long, so be patient.
You must set-up a JClic projects repository tree in
/projects. There is a demo tree on
the samples branch. Please checkout this
branch on another directory and symlink
dist/default/projects to it.
From jclic-repo, launch:
cd .. git clone https://github.com/projectestac/jclic-repo.git --branch samples --single-branch jclic-repo-samples cd jclic-repo ln -s ../jclic-repo/samples/projects .
To test the module and see the demo in your browser, just launch the test server running:
The main parameters of the application (like title, language and the location of the
are defined in
Another important file is
projects.json. This file, usually placed at the root of the
contains a full list of the projects published on the repository and basic information (project's folder,
title, authors, languages, icons, main file...) about them.
Every project folder must have a
project.json file with a full description. See the
branch for examples of
To build jclic-repo, just run:
This will generate the final files, ready for production, into the
dist/default folder. Note that the
main.json must point to a valid JClic repository folder.
Sponsors that make possible JClic
JClic.js is an open-source project sustained by XTEC, the Telematic Network of the Catalan Ministry of Education.
Checking the operation of JClic.js on different browsers and platforms is possible thanks to virtual machines provided by BrowserStack.
The production releases of JClic.js are smoothly distributed to the final users thanks to the JSDelivr network of servers.
We use Transifex as a platform to translate JClic.js into many languages. Please read TRANSLATIONS.md if you want to contribute to the project creating a new translation or improving the existing ones.