{"id":32639539,"url":"https://github.com/cogcomp/apelles","last_synced_at":"2025-10-31T02:13:04.114Z","repository":{"id":57181288,"uuid":"77836374","full_name":"CogComp/apelles","owner":"CogComp","description":"CogComp-nlp demo  ","archived":false,"fork":false,"pushed_at":"2020-02-10T01:21:42.000Z","size":3753,"stargazers_count":2,"open_issues_count":14,"forks_count":8,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-03T19:58:49.328Z","etag":null,"topics":["nodejs","visualization","visualization-library"],"latest_commit_sha":null,"homepage":"http://nlp.cogcomp.org","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CogComp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-02T13:45:34.000Z","updated_at":"2021-12-20T11:29:10.000Z","dependencies_parsed_at":"2022-09-14T03:50:46.230Z","dependency_job_id":null,"html_url":"https://github.com/CogComp/apelles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CogComp/apelles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2Fapelles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2Fapelles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2Fapelles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2Fapelles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CogComp","download_url":"https://codeload.github.com/CogComp/apelles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2Fapelles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281914578,"owners_count":26583086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["nodejs","visualization","visualization-library"],"created_at":"2025-10-31T02:13:01.757Z","updated_at":"2025-10-31T02:13:04.110Z","avatar_url":"https://github.com/CogComp.png","language":"HTML","readme":"# Apelles\n\nThis is a visualization library designed around cogcomp's NLP datastructures.\n\n## Basics \n\nRequirements: NodeJS, NPM should be installed.\n\nTo install dependencies:\n`npm install` in the root directory to install required NodeJS modules.\n\nThere are two use-cases for the system: \n\n 1. Demo for visualization of annotations (served over networks) \n 2. Diff-ing tool for local files containing annotations \n\n### Running the demo server \n\nTo start the dev server:\n`node server.js`\n\n### Local comparison and display tool\n\n`comparison.js` provides a tool for viewing annotations from static \nfiles (TextAnnotations serialized as json}, including comparing several \ndifferent versions of the same annotation of the same text.\n\nUsage for comparing multiple annotation versions:\n\n1. Create two or more folders, representing versions, of annotation JSON files with identical file names.\n\n   Example: `prediction/sample.json` and `gold/sample.json`\n\n1. Start server with `node comparison.js --port \u003cPORT\u003e \u003cFOLDER#1\u003e \u003cFOLDER#2\u003e`.\n   This command can be run from any working directory, with `\u003cFOLDER\u003e` relative to current working directory.\n\n   Example: `node comparison.js --port 3154 prediction gold`\n   \n1. Browse `\u003cSERVER ADDRESS\u003e:\u003cPORT\u003e`. All files named according to 1. will be shown under the first drop-down list. Multiple files and view types can be chosen to display vertically in order.\n\n   Example: `localhost:3154`\n\nUsage for visualizing a single version of annotations:\n\nSame as for multiple versions, but specify a single directory.\n\n## Adding a new annotation type\nIf the name is not already in the available view list, in apelles/public/comparison.html edit the selectpicker element\n`\u003cselect class=\"selectpicker col-xs-12\" id=\"view-selector\" data-actions-box=\"true\" multiple\u003e`\nby adding a new option:\n`\u003coption value=\"MENU_VERSION_OF_YOUR_VIEW_NAME\" selected\u003eYOUR_VIEW_NAME\u003c/option\u003e`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcogcomp%2Fapelles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcogcomp%2Fapelles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcogcomp%2Fapelles/lists"}