{"id":43171972,"url":"https://github.com/opencitations/lucinda","last_synced_at":"2026-02-01T02:35:41.359Z","repository":{"id":85229117,"uuid":"121223840","full_name":"opencitations/lucinda","owner":"opencitations","description":"The OpenCitations RDF Resource Browser","archived":false,"fork":false,"pushed_at":"2025-10-29T16:03:58.000Z","size":6554,"stargazers_count":15,"open_issues_count":2,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-29T18:08:52.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opencitations.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-02-12T09:03:59.000Z","updated_at":"2025-08-25T11:34:21.000Z","dependencies_parsed_at":"2025-01-14T17:38:33.425Z","dependency_job_id":"805e4ac3-9a5e-4a35-8710-32b17c4013b4","html_url":"https://github.com/opencitations/lucinda","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/opencitations/lucinda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencitations%2Flucinda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencitations%2Flucinda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencitations%2Flucinda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencitations%2Flucinda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencitations","download_url":"https://codeload.github.com/opencitations/lucinda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencitations%2Flucinda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28965430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T02:14:24.993Z","status":"ssl_error","status_checked_at":"2026-02-01T02:13:55.706Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-01T02:35:41.288Z","updated_at":"2026-02-01T02:35:41.349Z","avatar_url":"https://github.com/opencitations.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"doc/lucinda_logo.svg\" alt=\"drawing\" width=\"350\"/\u003e\n\n### The OpenCitations RDF Resource Browser (v3.0)\nLucinda is a general RDF-resource browser which could be configured to work with any triplestore providing a SPARQL-endpoint address. In this repository you can find few [examples](example/) of Lucinda usage. Lucinda was first presented at [Wikicite2018](https://meta.wikimedia.org/wiki/WikiCite_2018).\n\n# LUCINDA Configuration\n\n- **1.** Copy the CSS and JS files contained in the `lucinda` directory into your `static` directory (typically CSS file into `static/css` and JS file into `static/js`)\n\n- **2.** In your HTML browsing page, do the following things:\n  - Import Lucinda CSS file in your `\u003chead\u003e`:\n  ```\u003clink href=\"path/to/lucinda.css\" rel=\"stylesheet\"\u003e```\n  - Insert in the `\u003cbody\u003e`:\n  ```\u003cdiv id=\"__lucinda__\"\u003e\u003c/div\u003e```\n  - Import Lucinda JS file at the end of your HTML file (typically in `\u003cfooter\u003e`):\n  ```\u003cscript type=\"text/javascript\" src=\"path/to/lucinda.js\"\u003e\u003c/script\u003e```\n  - Create a directory to store your custom Lucinda files. For best practices, place this directory within your static folder, such as `static/browser/`.\n\n- **3.** In case you have a custom JS addon file, add it to your custom Lucinda directory and import it right after the Lucinda JS previously imported:\n  ```\n  \u003cscript type=\"text/javascript\" src=\"path/to/lucinda.js\"\u003e\u003c/script\u003e\n  \u003cscript type=\"text/javascript\" src=\"path/to/lucinda_custom_dir/my_lucionda_addon.js\"\u003e\u003c/script\u003e\n  ```\n\n- **4.** Define your resource template(s):\n  - Create a templates directory within your custom Lucinda directory, such as `static/browser/templates/`.\n  - Each template is defined by two files, to be added in the directory just created (**Note: both files should have the same name, e.g. *rsc_tmpleate.hf* and *rsc_tmpleate.html***):\n    - **HF file**, have a look at the guidelines on how to correctly define it (TBA).\n    - **HTML file**, have a look at the guidelines on how to correctly define it (TBA).\n\n- **5.** Run Lucinda:\n  - From your browsing page (step **(1)**), add `\u003cscript\u003e` block right after the imported JS modules (step **(3)**) and set the default configurations of Lucinda (have a look at the guidelines on how to correctly do this (TBA) ):\n  ```\n  Lucinda.init({\n      templates_url: \"/static/browser/templates/\",\n      templates: [\n        \"rsc_tmpleate\",\n        ...\n      ]\n  });\n\n  Lucinda.run();\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencitations%2Flucinda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencitations%2Flucinda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencitations%2Flucinda/lists"}