{"id":13451312,"url":"https://github.com/madlabsinc/teachcode","last_synced_at":"2025-10-08T18:05:57.576Z","repository":{"id":34015638,"uuid":"155039788","full_name":"madlabsinc/teachcode","owner":"madlabsinc","description":"A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.","archived":false,"fork":false,"pushed_at":"2024-01-09T17:28:18.000Z","size":2324,"stargazers_count":397,"open_issues_count":14,"forks_count":64,"subscribers_count":5,"default_branch":"next","last_synced_at":"2025-09-05T08:16:40.275Z","etag":null,"topics":["cli","commander","github","hacktoberfest","inquirer","javascript","node-js","nodejs","nodejs-cli","python","python3","teaching"],"latest_commit_sha":null,"homepage":"https://teachcode.surge.sh","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madlabsinc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"ko_fi":"jamesgeorge007","patreon":"jamesgeorge007","custom":"https://www.paypal.me/jamesgeorge007"}},"created_at":"2018-10-28T05:50:27.000Z","updated_at":"2025-08-18T05:21:34.000Z","dependencies_parsed_at":"2023-01-15T03:58:39.463Z","dependency_job_id":"18ef5aff-5ad2-4025-8e5e-9ede3ba198e5","html_url":"https://github.com/madlabsinc/teachcode","commit_stats":null,"previous_names":["madlabsinc/teach-code"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/madlabsinc/teachcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madlabsinc%2Fteachcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madlabsinc%2Fteachcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madlabsinc%2Fteachcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madlabsinc%2Fteachcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madlabsinc","download_url":"https://codeload.github.com/madlabsinc/teachcode/tar.gz/refs/heads/next","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madlabsinc%2Fteachcode/sbom","scorecard":{"id":610410,"data":{"date":"2025-08-11","repo":{"name":"github.com/madlabsinc/teachcode","commit":"b97c7ba3cfbd97e803cb52ae2e6e2717068ade01"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":5,"reason":"Found 2/4 approved changesets -- score normalized to 5","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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/madlabsinc/teachcode/ci.yml/next?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/madlabsinc/teachcode/ci.yml/next?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"68 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq","Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-6vfc-qv3f-vr6c","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5","Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp","Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq","Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr","Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765","Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-6fw4-hr69-g3rv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-3f95-r44v-8mrg","Warn: Project is vulnerable to: GHSA-28xr-mwxg-3qc8","Warn: Project is vulnerable to: GHSA-9p95-fxvg-qgq2","Warn: Project is vulnerable to: GHSA-9w5j-4mwv-2wj8","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-5j4c-8p2g-v4jx","Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T02:30:52.221Z","repository_id":34015638,"created_at":"2025-08-21T02:30:52.221Z","updated_at":"2025-08-21T02:30:52.221Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278990009,"owners_count":26081260,"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-10-08T02:00:06.501Z","response_time":56,"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":["cli","commander","github","hacktoberfest","inquirer","javascript","node-js","nodejs","nodejs-cli","python","python3","teaching"],"created_at":"2024-07-31T07:00:51.609Z","updated_at":"2025-10-08T18:05:57.551Z","avatar_url":"https://github.com/madlabsinc.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://teachcode.madlabs.xyz/\"\u003e\u003cimg src=\"https://i.imgur.com/BuMZB6C.png\" width=\"240\" height=\"240\"\u003e\u003c/a\u003e\n  \u003ch1 align=\"center\"\u003eteachcode\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding. \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://travis-ci.com/madlabsinc/teachcode\"\u003e\u003cimg src=\"https://travis-ci.com/madlabsinc/teachcode.svg?branch=master\" alt=\"Build Status\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/teach-code\"\u003e\u003cimg src=\"https://badgen.net/npm/v/teach-code\" alt=\"npm version\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/teach-code\"\u003e\u003cimg src=\"https://badgen.net/npm/dm/teach-code\" alt=\"Downloads\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/madlabsinc/teachcode/pull/new\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRs%20-welcome-brightgreen.svg\" alt=\"PRs Welcome\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/prettier/prettier\"\u003e\u003cimg src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg\" alt=\"code style: prettier\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/ulivz/awesome-vuepress\"\u003e\u003cimg src=\"https://awesome.re/mentioned-badge.svg\" alt=\"Mentioned in Awesome-VuePress\" /\u003e\u003c/a\u003e\n\t\u003ca title=\"Chat on Telegram\" href=\"https://t.me/teach_code\"\u003e\u003cimg src=\"https://img.shields.io/badge/chat-Telegram-blueviolet?logo=Telegram\"/\u003e\u003c/a\u003e\n\t\u003ca href=\"https://twitter.com/intent/follow?screen_name=teachcode_cli\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/teachcode_cli.svg?style=social\u0026label=Follow%20@teachcode_cli\" alt=\"Follow on Twitter\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href='https://www.buymeacoffee.com/jamesgeorge007' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png' border='0' alt='Buy Me a Coffee' /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n**Chat: _[Telegram](https://t.me/teach_code)_**\n\n**Donate: _[PayPal](https://www.paypal.me/jamesgeorge007), [Patreon](https://www.patreon.com/jamesgeorge007)_**\n\n## Installation\n\n`npm install -g teach-code`\n\n## How to use\n\nUsers are required to solve 30 tasks that take them through the basic constructs of the programming language of their choice. The tasks are designed in such a way that the complexity increases as users progress through the tasks. One can't move forward until the current task is completed. Previously submitted tasks can be viewed if he/she wants but can't be worked on again.\n\n- `teachcode` expects you to have a GitHub account. Make sure that you create one if you don't have one. [Learn more - Github Signup](https://docs.github.com/en/github/getting-started-with-github/signing-up-for-a-new-github-account)\n- Navigate to the directory of your choice and type in `teachcode init`.\n- Choose your track. Currently, we provide two tracks, Python and Javascript\n- Enter your name. We ask for your name mainly for greeting purpose.\n- Enter your GitHub username.\n- Enter your GitHub personal token with repo access. [Learn more - GitHub Personal Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)\n- Now type in `cd teachcode-solutions`.\n- Type in `teachcode fetchtask`.\n- Hurray :tada: you've got your first task.\n- Type in your solution for the task in the file `task1.py` (opted learning track) using any code editor of choice. We recommend using [VS Code](https://code.visualstudio.com/)\n- Now type in `teachcode submit` to submit your solution.\n- Enter your Git credentials when prompted. [Learn more - Git Credentials](https://docs.github.com/en/github/getting-started-with-github/getting-started-with-git)\n- Fetch the next task with `teachcode fetchtask`.\n\n## Available Commands\n\n| command                   | description                                                                           |\n| ------------------------- | ------------------------------------------------------------------------------------- |\n| teachcode init            | Initializes all the tasks                                                             |\n| teachcode fetchtask [key] | Fetches the task correponding to the key if provided (defaults to the very next task) |\n| teachcode submit          | Submits the current task                                                              |\n| teachcode showkeys        | Lists all the keys associated with the submitted tasks                                |\n\n## Contributing\n\nContributions of any kind are welcomed. Make sure that you go through these [guidelines](https://teachcode.madlabs.xyz/guide/contributing.html).\n\n### How should I write a commit message?\n\nThis project uses [Commitlint](https://github.com/conventional-changelog/commitlint/#what-is-commitlint) to check if the commit messages meet the [conventional commit format](https://www.conventionalcommits.org/en/v1.0.0/).\n\nThe full pattern is:\n\n```sh\ntype(scope?): subject #scope is optional\n\nbody? #body is optional\n\nfooter? #footer is optional\n```\n\nFollowing that pattern, your commit messages should look like these:\n\n```sh\nfeat: activate open collective\n```\n\n```sh\nchore: correct typo\n\nIt should be \"guest\" and not \"gest\"\n```\n\n```sh\nrefactor(cli): drop support for node 6\n\nBREAKING CHANGE: you will need to update your node version to keep using this CLI\nThis closes #123\n```\n\n### How should I name my branches?\n\nPrefix your branch names with `feat/`, `docs/` or `hotfix/` for feature proposals, documentation and bug fixes, respectively.\n\n## License\n\nLicensed under `GNU General Public License V3.0`.\n","funding_links":["https://ko-fi.com/jamesgeorge007","https://patreon.com/jamesgeorge007","https://www.paypal.me/jamesgeorge007","https://www.buymeacoffee.com/jamesgeorge007'","https://www.patreon.com/jamesgeorge007)_"],"categories":["JavaScript","Command Line Learning","cli"],"sub_categories":["Internet Speedtest"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadlabsinc%2Fteachcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadlabsinc%2Fteachcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadlabsinc%2Fteachcode/lists"}