{"id":16900525,"url":"https://github.com/btipling/djanglets","last_synced_at":"2025-04-05T12:42:26.687Z","repository":{"id":20698083,"uuid":"23981682","full_name":"btipling/djanglets","owner":"btipling","description":"Just testing stuff with jison for now.","archived":false,"fork":false,"pushed_at":"2014-11-02T03:08:52.000Z","size":1220,"stargazers_count":2,"open_issues_count":22,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T05:06:09.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btipling.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":"2014-09-13T00:39:02.000Z","updated_at":"2016-08-09T06:45:03.000Z","dependencies_parsed_at":"2022-08-19T22:40:25.611Z","dependency_job_id":null,"html_url":"https://github.com/btipling/djanglets","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btipling%2Fdjanglets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btipling%2Fdjanglets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btipling%2Fdjanglets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btipling%2Fdjanglets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btipling","download_url":"https://codeload.github.com/btipling/djanglets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339135,"owners_count":20923009,"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":[],"created_at":"2024-10-13T17:55:05.504Z","updated_at":"2025-04-05T12:42:26.401Z","avatar_url":"https://github.com/btipling.png","language":"JavaScript","readme":"[![Travis build test](https://travis-ci.org/btipling/djanglets.svg?branch=master)](https://travis-ci.org/btipling/djanglets)\n\ndjanglets\n=========\n\ndjanglets is a reactive template engine inspired by the\n[Django Template Language](https://docs.djangoproject.com/en/dev/topics/templates/).\n\nThis project is under heavy development and is still a prototype.\n\n##Reactive rendering\n\nThe reactive aspects are currently only supported for meteor.js, but they will become available\nfor regular JavaScript. The reactivity is such that changes in template variables update only\nthe elements that have changed, once the template has rendered. To achieve this the DOM\nstate exists in memory.\n\n\n##Non-reactive rendering\n\nIt is also possible to use djanglets for non-reactive template rendering. In this case the\ntemplate is coerced into a string and rendered once with no state preserved in memory.\n\n\n##Compatibility with Django templates\n\nThe goal is to make djanglets a superset of Django templates. Ultimately it would be nice\nif any Django template were also capable of rendering with djanglets, but this aspect\nis still being experimented with.\n\n\n##Influences\n\nIn addition to similiarities to the Django Template Language this project is influenced by\nhandlebars.js meteor.js and react.js borrowing ideas and concepts from all of these and more.\n\n\n##How does it work\n\nTemplates are parsed with [jison](http://zaach.github.io/jison/), and turned into an AST that\nis written as JSON into JavaScript files. Separate runtimes exist for reactive and standard\ntemplate rendering.\n\n\n##Examples and documentation\n\nThis project is still just getting started, there is an examples directory that I'm using\nto develop static rendering and I have a separate repo for meteor templates that I will\nmake available soon.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtipling%2Fdjanglets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtipling%2Fdjanglets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtipling%2Fdjanglets/lists"}