{"id":15674600,"url":"https://github.com/danielgtaylor/tech-talk","last_synced_at":"2025-05-06T23:22:19.256Z","repository":{"id":49731195,"uuid":"79688055","full_name":"danielgtaylor/tech-talk","owner":"danielgtaylor","description":"Markdown slideshows with a built-in terminal that just works","archived":false,"fork":false,"pushed_at":"2022-07-28T21:22:39.000Z","size":1329,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T03:51:42.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/danielgtaylor.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":"2017-01-22T02:36:18.000Z","updated_at":"2024-04-24T22:47:24.000Z","dependencies_parsed_at":"2022-09-26T20:31:11.866Z","dependency_job_id":null,"html_url":"https://github.com/danielgtaylor/tech-talk","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgtaylor%2Ftech-talk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgtaylor%2Ftech-talk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgtaylor%2Ftech-talk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgtaylor%2Ftech-talk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielgtaylor","download_url":"https://codeload.github.com/danielgtaylor/tech-talk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252783897,"owners_count":21803574,"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-03T15:47:48.267Z","updated_at":"2025-05-06T23:22:19.238Z","avatar_url":"https://github.com/danielgtaylor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tech Talk\n\nAn opinionated Markdown-based technical slideshow tool with a built-in terminal that just works.\n\n![techtalk](https://cloud.githubusercontent.com/assets/106826/22236695/229d6c66-e1bc-11e6-9bf2-5b8cfa500e91.gif)\n\n- Write your slides with [Markdown](https://github.com/gnab/remark/wiki/Markdown)\n- Built-in terminal (both local or via SSH)\n- Supports presenter mode with notes \u0026 timer, cloned displays, etc.\n- Simple, self-contained executable for Winows, Mac \u0026 Linux\n- PDF export with your browser's built-in print to PDF\n- Trivial to customize and distribute within your company\n\n## Usage\n\nStart by downloading a [release](https://github.com/danielgtaylor/tech-talk/releases) or your company's variant. You probably want to put it into `/usr/local/bin/tech-talk` on Mac / Linux. On Windows you can save `tech-talk.exe` anywhere as it is fully self-contained / portable.\n\n```sh\n# See a demo slideshow\ntech-talk\n\n# Use your own slides\ntech-talk slides.md\n\n# Use SSH to connect to some server for the terminal\ntech-talk -host user@hostname slides.md\n\n# Custom ports are also allowed\ntech-talk -host user@hostname:port slides.md\n\n# Windows users must pass an authentication method as an internal SSH\n# mechanism is used instead of OpenSSH. Keys are recommended over passwords.\ntech-talk -host user@hostname -pass cleartext-password slides.md\ntech-talk -host user@hostname -key id_rsa slides.md\ntech-talk -host user@hostname -key my-key.pem slides.md\n\n# Mac / Linux users can force the use of the internal SSH client and use the\n# same options that Windows users would use from above.\ntech-talk -ssh internal ...\n```\n\nThen go to [http://localhost:4000/](http://localhost:4000/) to view.\n\n## Customization\n\nSending around boilerplate or configs to everyone sucks. Build your own self-contained executable with your company's theme and let people focus on making great talks.\n\nFirst you'll want to install [Go](https://golang.org/). Then:\n\n```sh\nmkdir -p $GOPATH/src/github.com/danielgtaylor\ncd $GOPATH/src/github.com/danielgtaylor\ngit clone https://github.com/danielgtaylor/tech-talk.git\ncd tech-talk\ngo install\n```\n\nNow, make your customizations!\n\n- [Slideshow prefix (prepended to first slide)](https://github.com/danielgtaylor/tech-talk/tree/master/data/prefix.md)\n- [Stylesheet (fonts, colors, layout, etc)](https://github.com/danielgtaylor/tech-talk/tree/master/www/style.css)\n- [Javascript (transitions)](https://github.com/danielgtaylor/tech-talk/tree/master/www/script.js)\n- [Terminal default font size](https://github.com/danielgtaylor/tech-talk/tree/master/www/wetty/wetty.js)\n- [Example slideshow](https://github.com/danielgtaylor/tech-talk/tree/master/data/example.md)\n- [HTML template](https://github.com/danielgtaylor/tech-talk/blob/master/data/index.template)\n\nOnce you are ready:\n\n```sh\n# Build for your OS and test\n./build.sh\n./tech-talk\n\n# Or, cross-compile, e.g:\nGOOS=linux GOARCH=386 ./build.sh\n\n# Automated release (cross-compile to supported platforms):\n./release.sh\n```\n\nRemember to run `./build.sh` each time you make a change, and your browser may cache items so Cmd+Shift+R or Ctrl+Shift+R to force a refresh are useful.\n\nNow you can upload your executables somewhere like Google Drive and share them within the company.\n\n## Acknowledgments\n\nThis project is possible because of the amazing work done by many people in the following projects, many of which are used with slight modifications or custom settings:\n\n- [Remark.js](https://github.com/gnab/remark#remark)\n- [Socket.io](https://github.com/googollee/go-socket.io)\n- [pty](https://github.com/kr/pty)\n- [Wetty](https://github.com/krishnasrinivas/wetty)\n- [crypto/ssh](https://godoc.org/golang.org/x/crypto/ssh)\n\nSo, how does this beast work? Simple, really. It starts both a web server and Socket.IO server, renders an index page with Remark.js using the user-supplied Markdown, which in turn contains an `iframe` with a terminal that uses the socket to communicate with a PTY running either a login shell or `ssh` session. For the internal SSH client there is no client-side PTY but instead a couple pipes through an SSH connection.\n\n## License\n\nhttps://dgt.mit-license.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgtaylor%2Ftech-talk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielgtaylor%2Ftech-talk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgtaylor%2Ftech-talk/lists"}