{"id":16386295,"url":"https://github.com/tmcw/mistakes","last_synced_at":"2025-03-16T16:30:57.333Z","repository":{"id":6682652,"uuid":"7927684","full_name":"tmcw/mistakes","owner":"tmcw","description":"line-oriented presentation-optimized live coding in javascript","archived":false,"fork":false,"pushed_at":"2023-01-29T23:23:27.000Z","size":1601,"stargazers_count":108,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"gh-pages","last_synced_at":"2025-03-16T01:55:50.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tmcw.github.io/mistakes/#4679533","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmcw.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-01-31T01:11:04.000Z","updated_at":"2023-03-26T11:35:41.000Z","dependencies_parsed_at":"2023-02-16T01:45:58.981Z","dependency_job_id":null,"html_url":"https://github.com/tmcw/mistakes","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/tmcw%2Fmistakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcw%2Fmistakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcw%2Fmistakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcw%2Fmistakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmcw","download_url":"https://codeload.github.com/tmcw/mistakes/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822283,"owners_count":20353499,"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-11T04:16:51.760Z","updated_at":"2025-03-16T16:30:56.975Z","avatar_url":"https://github.com/tmcw.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## [mistakes.io](https://mistakes.io/)\n\nlive-coding, oriented towards giving presentations about programming and\nshowing what you mean.\n\n![](http://farm9.staticflickr.com/8050/8440178754_8e7f5906cc_z.jpg)\n\n## Require\n\n[require functionality is powered by live-require](https://github.com/tmcw/live-require)\n\nThere is one additional 'feature' of the interface. A magic function called\n`require` will include a javascript file by URL, on the page. Here's\n[an example](http://mistakes.io/#5051892).\n\n## Gists\n\nmistakes supports loading from [GitHub Gists](https://gist.github.com/) to\nhelp you share code better. When you see a URL like http://mistakes.io/#5051892\nthat means it's loading the gist at https://gist.github.com/tmcw/5051892.\n\nIt works with anyone's gists. The expectation is that gists contain a single\nJavascript file - you can add a README too if you give it a file extension\nother than `.js`, like if you name it `README.md`.\n\n## Notes\n\nThere are a few 'principles' of mistakes:\n\nMistakes _does not do magic_. There is no complicated code compilation or parsing -\nit's just `eval`. See the [incremental eval module, which powers this part of mistakes](https://github.com/tmcw/incremental-eval).\nWhat works in Javascript works in mistakes. Therefore,\nthere's very little code - less than 200 sloc if you don't count [CodeMirror](http://codemirror.net/),\nthe editor component.\n\n## Local\n\nThere are three rules of presenting:\n\n1. **Never ever rely on the internet for a presentation.**\n2. Always have a VGA adapter at all times.\n3. Only present about things you're interested in.\n\nMistakes now helps with #1. Instead of counting on [GitHub Gists](https://gist.github.com/)\nfor samples when giving a live presentation, clone (or download) this repository\nand drop Javascript files in the `local/` directory. I've included\n`equals.js` in there as an example.\n\nThen [boot up a server](https://gist.github.com/tmcw/4989751), and go to\n`http://localhost:3000/#yourfile.js` or whatever.\n\n## Developing Locally\n\nClone this repo and run `npm install` \u0026\u0026 `npm start`\n\n## Building\n\nRun\n\n    npm install\n    npm run build\n\nThis will build the `js/bundle.js` built file.\n\n## See Also\n\n* [jsconsole](http://jsconsole.com/)\n* [lighttable](http://www.lighttable.com/)\n* [tributary.io](http://tributary.io/)\n* [bl.ocks.org](http://bl.ocks.org/)\n* [tryme](https://github.com/shtylman/tryme)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcw%2Fmistakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmcw%2Fmistakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcw%2Fmistakes/lists"}