{"id":48563910,"url":"https://github.com/ternus/gametex-django","last_synced_at":"2026-04-08T12:37:11.472Z","repository":{"id":6056041,"uuid":"7281287","full_name":"ternus/gametex-django","owner":"ternus","description":"A Django app for GameTeX integration.","archived":false,"fork":false,"pushed_at":"2013-02-06T19:11:59.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T01:18:53.356Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ternus.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":"2012-12-22T01:14:36.000Z","updated_at":"2014-01-01T06:09:40.000Z","dependencies_parsed_at":"2022-08-28T00:00:56.024Z","dependency_job_id":null,"html_url":"https://github.com/ternus/gametex-django","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ternus/gametex-django","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternus%2Fgametex-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternus%2Fgametex-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternus%2Fgametex-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternus%2Fgametex-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ternus","download_url":"https://codeload.github.com/ternus/gametex-django/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternus%2Fgametex-django/sbom","scorecard":{"id":874543,"data":{"date":"2025-08-11","repo":{"name":"github.com/ternus/gametex-django","commit":"096dece4efc18c26c3efb3fcf3c4d4473abcc036"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T05:27:59.708Z","repository_id":6056041,"created_at":"2025-08-24T05:27:59.708Z","updated_at":"2025-08-24T05:27:59.708Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31556238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-04-08T12:37:09.574Z","updated_at":"2026-04-08T12:37:11.406Z","avatar_url":"https://github.com/ternus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"GameTeX Django\n==============\n\nA Django app for GameTeX integration.  Writing a ten-day webapp?  You'll want this.\n\nGetting started\n---------------\n\nYou'll need a version of GameTeX that supports JSON export (talk to Ken).\n\nTo install:\n\n* `pip install gametex-django` \n* Add `gametex` to your INSTALLED_APPS in settings.py.\n* Run `./manage.py syncdb` to create the new models.\n\nTo import your game data:\n\n* Generate `json_PRINT.json` by LaTeXing `json_PRINT.tex` in your game's Production directory.\n* Run `./manage.py load_gametex /path/to/json-PRINT.json`\n\nYou then have access to everything exported in your JSON file, all within Django.\n\nIf you pass the `--clear` argument to `./manage.py load_gametex`,\nall existing GameTeX objects will be deleted from your database.\n\nIf you pass the `--create-users` argument, *and* all your PCs have\n'username' and 'password' fields, the loader will automatically create\nusers for each of your PCs and create GameTeXUser entries to map between\nthem.\n\nDjango model mapping\n--------------------\n\nEach GameTeX entity (sheet, ability, PC, etc.) becomes a GameTeXObject\n(GTO for short).  Each GTO belongs to a number of classes, such as\n'KeyCard', 'Item', or 'PC'; a 'PC' might also be a 'Char'.  (There's\nno hierarchical representation in the GameTeX Django models; that's up\nto GameTeX.)\n\nThere's a shortcut method, 'bc', that allows you to filter\nGameTeXObjects by class.\n\nEach GTO has a 'name', a 'number', and a 'macro'; 'name' and 'number'\nmay be blank.  You can query using any of these, and you can access\nthem in the usual way:\n\n    \u003e\u003e\u003e g = GTO.bc('PC')[0]\n    \u003e\u003e\u003e g.name\n    u'Captain GameTeX'\t\n    \u003e\u003e\u003e g.macro\n    u'cTest'\n    \u003e\u003e\u003e g.number\n    u'22234'\n\nNote that all fields are Unicode text, even ostensibly numerical ones\nsuch as 'number'.  It's up to you to convert those to int (or whatever)\nif necessary.\n\nGTOs may also have custom fields defined, depending on how your game\nlooks.  For example, an item might have a 'price' field.  You can\naccess these like normal:\n\n    \u003e\u003e\u003e g2 = GTO.bc('KeyCard')[0]\n    \u003e\u003e\u003e g2.name\n    u'CompSci Data'\n    \u003e\u003e\u003e g2.hintreq\n    u'Cryptography 2'\n    \u003e\u003e\u003e g2.name = 'CS Data'\n    \u003e\u003e\u003e g2.name\n    u'CS Data'\n\nIn case your field has spaces in it, you can reference it with the\n'field' and 'set_field' methods of GameTeXObject:\n\n    \u003e\u003e\u003e g.has_field('Combat Rating')\n    True\n    \u003e\u003e\u003e g.field('Combat Rating')\n    u'2'\n    \u003e\u003e\u003e g.set_field('Combat Rating', '4')\n    \u003e\u003e\u003e g.field('Combat Rating')\n    u'4'\n\nUpdating in place\n-----------------\n\nRunning `./manage.py load_gametex ...` again will update your objects in-place.\nIf a macro exists, any field changes you've made in the database will be overridden, but\nnew objects will be created and new fields populated as normal.  For example, if you had\na character (pseudo-JSON):\n\n    {\"macro\": \"cTest\",\n     \"name\": \"Captain GameTeX\",\n     \"number\": \"1\",\n     \"Combat Rating\": \"2\"\n    }\n\nand you updated from a JSON file that looked like this:\n\n    {\"macro\": \"cTest\",\n    \"name\": \"Captain Achmed von GameTeX\",\n    \"number\": \"100\",\n    \"income\": \"5\"\n    }\n\nyou'd get:\n\n    {\"macro\": \"cTest\",\n    \"name\": \"Captain Achmed von GameTeX\",\n    \"number\": \"100\",\n    \"income\": \"5\",\n    \"Combat Rating\": \"2\"\n    }\n\nYou may override this behavior by passing `--preserve` to `./manage.py load_gametex`. This\nwould result in:\n\n    {\"macro\": \"cTest\",\n    \"name\": \"Captain GameTeX\",\n    \"number\": \"1\",\n    \"Combat Rating\": \"2\"\n    \"income\": \"5\",\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fternus%2Fgametex-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fternus%2Fgametex-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fternus%2Fgametex-django/lists"}