Skip to main content

Posts

Showing posts with the label node

ProductHunt Alternative - Launch your NextGen Tools Here

I created an alternative for producthunt which is NextGen Tools . You can launch your apps here to get support from community members. You can also get promoted if you get included in the top 3 of the week. I'll promote your app on my tiktok (with 40k+ followers) and youtube page. You can also embed the badge for social proof to increase trust with your users. Here is the link: https://nxgntools.com

Creating a simple text to speech program like Wall-E with nodeJS

Creating your own WALL-E First of all to introduce you to what nodejs can do, we will start with a small project and use an available third party library named Say.js  for our text-to-speech program. With this you can build your own WALL-E. First let's install the libraries we need for this project:  npm i --save say npm i --save lodash Let's import them using: const say = require('say');  const _ = require('lodash'); let's try if the say library is working by making the computer say Hello World (literally of course!!!) say.speak('Hello World'); 😮 It does work right? Now remove that line and let's create something like a speech logger so that everything we ex'ed on our todo list, the computer will let us know by telling it to us loud and clear using the say library: What this does is we wrapped our say.speak in a promise so that everytime we call the logger the computer will stop and ...

How to literally say "Hello World" in node.js (text to speech - Javascript).

We will be building a simple "Hello World" for newbies/noobies who wants to be different and have swag 😎. We will make our own computer literally say "Hello World". Yes you'll hear them speak those words or anything you would like to type like: "I wanna kick my boss/teacher, [his name]", once in a while please be honest with your feelings. Kidding aside, we will just be needing 2 lines for this program to work. Btw if you want the more in depth version of this tutorial then checkout this youtube video:  And here are the tools that we need: NodeJS Say  (A third party library in node) and one last thing: Your brain 😉 First, let's create a project folder and a file named index.js . Then open a cmd on that folder and type the command: npm init Enter the details it needs or just press enter till a file named package.json is created. After that we continue by installing the Say library.  npm i --save say Remember: In most cases, in coding you don...

How to destroy node.js in 60 seconds with deno.js (Javascript runtimes)

How to destroy node.js in 60 seconds with deno.js Hello guys, Noobie programmer here!!! Today I will teach you how to destroy node.js in 60 seconds with deno.js which is another Javascript runtime (though you can use Typescript in it. And also, a little trivia before we start: DENO is short fo DEstroy NOde hence the name. If you want the video version it is here: https://youtu.be/tG9EMTlE-Uk Install Deno First and foremost let's go to the website of the deno.js:  https://deno.land/  . We need to install deno first and it's written in the website see the code below. For mac/ubuntu users:  curl -fsSL https://deno.land/x/install/install.sh | sh For window users: open a powershell and type the code below: iwr https://deno.land/x/install/install.ps1 -useb | iex Destroy node Let's start by running this one line of code: deno run https://deno.land/std/examples/welcome.ts As you can see with deno we can run scripts saved on a remote location and this is a very big plus since we d...