- Download the files into a directory.
- Replace the API key with your own in
gpt.js
- Run
npm i
- Run
node .
- Connect to it using
telnet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from 'fs/promises'; | |
import * as readline from "readline" | |
import axios from "axios"; | |
import sharp from 'sharp'; | |
import moment from 'moment'; | |
import getHeaders from 'happy-headers'; | |
var args = process.argv.slice(2); | |
//78 |