{"id":23041291,"url":"https://github.com/sophilabs/django-tatujs","last_synced_at":"2026-01-17T06:54:56.057Z","repository":{"id":11049654,"uuid":"13387228","full_name":"sophilabs/django-tatujs","owner":"sophilabs","description":"Integration of TatuJS with Django.","archived":false,"fork":false,"pushed_at":"2017-05-17T17:32:30.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-02-08T14:45:13.108Z","etag":null,"topics":["unmaintained"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sophilabs.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-10-07T15:16:36.000Z","updated_at":"2017-04-19T02:49:23.000Z","dependencies_parsed_at":"2022-08-28T19:51:50.654Z","dependency_job_id":null,"html_url":"https://github.com/sophilabs/django-tatujs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sophilabs%2Fdjango-tatujs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sophilabs%2Fdjango-tatujs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sophilabs%2Fdjango-tatujs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sophilabs%2Fdjango-tatujs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sophilabs","download_url":"https://codeload.github.com/sophilabs/django-tatujs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246916739,"owners_count":20854511,"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","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":["unmaintained"],"created_at":"2024-12-15T19:32:17.105Z","updated_at":"2026-01-17T06:54:56.012Z","avatar_url":"https://github.com/sophilabs.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-tatujs\n\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n\nIntegration of [TatuJS](https://github.com/sophilabs/tatujs) with Django.\n\n## Installation\nRun the included ```setup.py```.\n\n## Configuration\n\n### 1. Enable the middleware\nAdd ```tatujs.middleware.ExtractorMiddleware``` to your ```MIDDLEWARE_CLASSES``` setting in your django project.\n\n### 2. Configure TatuJS\n\n#### Example configuration:\n```js\n// The middleware included will look for this HTTP header.\ntatu.configuration.headerName = 'X-Source'; // \u003c= Sources header\n\ntatu.configuration.extractor = 'silent';\ntatu.configuration.reload = false;\ntatu.configuration.targetSymbol = '\u003e\u003e';\ntatu.configuration.concurrency = 42;\n\ntatu.configuration.sources = {\n  /*\n   * Pages of the menu\n   */\n  '.navbar a': {\n    'loader': 'html',\n\n    'selectors': 'title,.container,.navbar',\n    'handlers': 'title,outer,history,inspect,event',\n    'cache': 'object',\n\n    'sources': {\n      'img': {\n        'loader': 'image'\n      },\n      'video': {\n        'loader': 'video',\n        'minBuffered': 10\n      }\n    }\n  },\n\n  /*\n   * Tabs inside Page 0\n   */\n  '.tatu-tabs a': {\n    'loader': 'html',\n\n    'selectors': 'title,.tatu-tab-content,.tatu-tabs',\n    'handlers': 'title,outer,inspect,event',\n    'cache': 'object'\n  }\n};\n```\n\n## Example\nAn example is included. Enable the middleware, add ```tatujs.demo``` to your ```INSTALLED_APPS```, and add the following to your main urlconf.\n\n```\nurl(r'^demo/', include('tatujs.demo.urls')),\n```\n\n## License\ndjango-tatujs is Copyright (c) 2017 sophilabs, inc. It is free software, and may be\nredistributed under the terms specified in the [license](/LICENSE) file.\n\n## About\n\n[![sophilabs.co](https://s3.amazonaws.com/sophilabs-assets/logo/logo_300x66.gif)](https://sophilabs.co)\n\ndjango-tatujs is maintained and funded by sophilabs, inc. The names and logos for\nsophilabs are trademarks of sophilabs, inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsophilabs%2Fdjango-tatujs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsophilabs%2Fdjango-tatujs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsophilabs%2Fdjango-tatujs/lists"}