There are a lot of Javascript packages finding their way into GNU/Linux distribution repos. If we want to write a simple script in JavaScript that plays well with the $SHELL, there are a few nitpick areas that need to be dealt with. In a nutshell, we’ll learn how to build a CLI app in JS, that will work as smooth and integrated as a system script, built with ruby or python. This will be a live-coding session or a workshop if people are interested in hacking along.
P.S In between, there will be a showcase of some bash(SHELL) tips and tricks, that saves me quite some time, when coding.
- Getting familiar with the NodeJS runtime.
- Understand how a unix/posix compliant program behaves.
- Understanding modules in NodeJS and how to write one a.k.a how the “require” and “module” modules works.
- Learn about Javascript classes, objects, method chaining, prototypes and prototype inheritance a.ka a crash course into Object-oriented Javascript.
- Writing a cli wrapper for a custom(simple) JS library.
- Learn a bit about the Unix conventions.
- Putting it all together to get a nice CLI utility that can be distributed with any GNU/Linux distro.
- The very basics of JavaScript. We’ll be going over it anyway, but it helps if you’re prepared.
- How to use a cli app(if you’ve ever bust open a terminal, you’re cool)
I work as a Fullstack web developer over at neoito.com. In my spare time, I build tooling for optimising work flow and admire docker from a distance. Currently trying to go full self-hosted with OpenBSD.
https://www.aktsbot.in/slides/its-a-unix-system.html
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}