-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
nodejs.dev
Discontinued A redesign of Nodejs.org built using Gatsby.js with React.js, TypeScript, and Remark.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Secondly, Telegram is open source and can be rebuilt from the ground up using the source code (check out the React version). So if you have fun with our project, there's no limit to how far you can extend it in the ecosystem!
The node package we're working with, [node-telegram-bot-api](https://github.com/yagop/node-telegram-bot-api/blob/master/doc/tutorials.md), comes with great documentation. Let's start with one of the methods from the README. We'll tell our bot to send an introduction anytime a user runs /start.
Basic knowledge of NodeJS
Download Telegram desktop. Visit Botfather to immediately open a chat and begin creating your bot.
// helpers.js const fs = require('fs') const request = require('request') const sanityClient = require('@sanity/client') const client = sanityClient({ // ... }) const download = (url, path, callback) => { //the "request" library helps us make HTTP requests in node //though it is deprecated, it works for our purposes. //more here: https://www.npmjs.com/package/request request.head(url, (err, res, body) => { request(url) //using Node's .pipe() method, we connect the //readable stream to a writeable stream. .pipe(fs.createWriteStream(path)) .on('close', callback) }) } module.exports = { client, download }
Related posts
-
How to start an Open Source project. Building RESO API JS client
-
Against all odds! Fetch is here - Bye bye node-fetch and axios
-
Getting a bunch of error messages when trying to install Truffle. How do I fix this?
-
The history and reasons behind CORS, and how to use it
-
Using Redis Pub/Sub with Node.js