{"id":17247634,"url":"https://github.com/joshdata/django-annotator-store","last_synced_at":"2025-08-23T14:35:12.518Z","repository":{"id":10252792,"uuid":"12360687","full_name":"JoshData/django-annotator-store","owner":"JoshData","description":"A Django backend for okfn/annotator storage.","archived":false,"fork":false,"pushed_at":"2020-06-07T21:45:41.000Z","size":6,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"primary","last_synced_at":"2025-04-14T04:53:47.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoshData.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}},"created_at":"2013-08-25T15:05:26.000Z","updated_at":"2017-02-21T21:38:48.000Z","dependencies_parsed_at":"2022-07-21T16:02:17.368Z","dependency_job_id":null,"html_url":"https://github.com/JoshData/django-annotator-store","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JoshData/django-annotator-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshData%2Fdjango-annotator-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshData%2Fdjango-annotator-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshData%2Fdjango-annotator-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshData%2Fdjango-annotator-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshData","download_url":"https://codeload.github.com/JoshData/django-annotator-store/tar.gz/refs/heads/primary","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshData%2Fdjango-annotator-store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271752125,"owners_count":24814750,"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-08-23T02:00:09.327Z","response_time":69,"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":[],"created_at":"2024-10-15T06:38:30.246Z","updated_at":"2025-08-23T14:35:12.487Z","avatar_url":"https://github.com/JoshData.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"django-annotator-store\n======================\n\nA Django-based backend for OKF's Annotator (https://github.com/okfn/annotator).\n\nThe Annotator is a Javascript library from OKF which provides a nice UI for letting users annotate and tag arbitrary ranges in HTML content.\n\nThis project provides a Django app that is a storage backend for the Annotator.\n\nTo enable:\n\n\tAdd 'annotator' to your INSTALLED_APPS in settings.py.\n\t\n\tMake sure your base.html is working. It should load jQuery \u003e=1.7.2 and have a block called \"head\" in the \u003chead/\u003e and a block called \"scripts\" either later in the \u003chead/\u003e or at the end of the \u003cbody/\u003e.\n\t\n\tMake sure AJAX works with CSRF protection. I enable this by adding\n\n\t\t\u003cscript\u003e$('html').ajaxSend(function(event, xhr, settings) { if (!/^https?:.*/.test(settings.url)) xhr.setRequestHeader(\"X-CSRFToken\", \"{{csrf_token|escapejs}}\"); });\u003c/script\u003e \u003c!-- {% csrf_token %} --\u003e\n\t\t\n\tright after jQuery is loaded.\n\t\n\tHook in the app to your URL space by adding `url(r'^document-annotations', include('annotator.urls')),` to your urlconf.\n\t\nUse the Django admin to create a Document. Then browse to:\n\n\t/document-annotations/document/{id}/edit\n\t\nwhere {id} is the numeric primary key of the Document you added (probably \"1\").\n\nThe app has a simple permissions model:\n\n* Anyone, even anonymous users, may create annotations on any document.\n* Annotations created by logged-in users can only be edited/deleted by that user or a user with the annotator.change_annotation permission (i.e. global change permission).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdata%2Fdjango-annotator-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshdata%2Fdjango-annotator-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdata%2Fdjango-annotator-store/lists"}