{"id":21021269,"url":"https://github.com/danielnaab/knetwork-exercises","last_synced_at":"2025-05-15T08:32:00.606Z","repository":{"id":2551879,"uuid":"3530232","full_name":"danielnaab/knetwork-exercises","owner":"danielnaab","description":"Imports Khan Academy exercises for The K Network","archived":false,"fork":false,"pushed_at":"2012-04-21T19:52:15.000Z","size":6455,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T05:51:13.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://theknetwork.org","language":"JavaScript","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/danielnaab.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":"2012-02-23T21:50:33.000Z","updated_at":"2015-07-01T19:46:28.000Z","dependencies_parsed_at":"2022-09-12T11:51:09.069Z","dependency_job_id":null,"html_url":"https://github.com/danielnaab/knetwork-exercises","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/danielnaab%2Fknetwork-exercises","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielnaab%2Fknetwork-exercises/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielnaab%2Fknetwork-exercises/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielnaab%2Fknetwork-exercises/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielnaab","download_url":"https://codeload.github.com/danielnaab/knetwork-exercises/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254304640,"owners_count":22048445,"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-11-19T10:46:10.235Z","updated_at":"2025-05-15T08:31:58.033Z","avatar_url":"https://github.com/danielnaab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"knetwork-exercises\n==================\nImports exercises from the Khan Academy topic tree into a Django-ORM managed\ndatabase table stored with django-mptt.  To use, add `exercises` to\nINSTALLED_APPS or use the included project configuration for testing purposes.\n\nThe app provides a view which renders the exercise tree as a menu, where each\nexercise has a PNG preview.\n\nDependencies\n------------\nThis project has been built and tested on Python 2.7.1 and Django 1.3.1.\nIt requires pyobjc (OS X) for screenshot generation via a library version of\nthe webkit2png tool (https://github.com/danielnaab/webkit2png).  To trim the\nimages, the Python Imaging Library is required.\n\n    $ pip install -r requirements.txt\n\nImporting HOWTO\n---------------\nThe test project configuration has dependencies on sqlite3.\n\n    $ ./manage.py syncdb\n\nThe import can be executed by using the `import_exercises` management command:\n\n    $ ./manage.py import_exercises\n\nScreenshot Generation\n--------------------\nScreenshots for each Khan exercise page may be generated with the\n`generate_screenshots` management command.  OS X and pyobjc are required.\n\n    $ ./manage.py generate_screenshots\n\nCropping\n--------\nCropped versions of each Khan exercise page may also be generated with the\n`crop_screenshots` management command.  The `generate_screenshots` command must\nbe executed first.\n\n    $ ./manage.py crop_screenshots\n\nExercises Update\n----------------\nTo grab the upstream copies of the Khan exercises from the Github repository:\n\n\t\t$ ./manage.py clone_khan_exercises\n\nTest Server\n-----------\nTo run the Django dev server:\n\n    $ ./manage.py runserver\n\nThe sample menu navigation should now be accessible at http://localhost:8000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielnaab%2Fknetwork-exercises","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielnaab%2Fknetwork-exercises","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielnaab%2Fknetwork-exercises/lists"}