Skip to content

Releases: cmalf/teneo-node-cli

TNC-v1.1.0-Proxy

13 Dec 23:58
7e2c503
Compare
Choose a tag to compare

🌐 Using Proxy Connection

🤔 How To Do

  • Download TNC-v1.1.0-Proxy.zip below
  • Extract file zip
  • Go to folder
  • Install Dependencies
     npm install

ᝰ.ᐟ For Setup Proxy

  • Open proxy.txt to setup
  • Support Http and Socks Proxy
  • format proxies is: socks://username:pass@ip:port Or http://username:pass@ip:port
  • Then...

🏃🏻‍♂️‍➡️ Run the Script

  • To run the script
npm start

[◉°] ScreenShoot

📢 Additional information

To get a stable Proxy you can use this Platform, plans ranging from $3 to $125 for 6 months, or use your own choice.

  • Get Proxies IP address Socks5
    • Create an account at proxies.fo
    • Go to purchase isp and buy a plan according to your needs.
      • You can use cryptocurrency for payment
      • Screenshot
    • after that you go to the dashboard Click Generate proxy Button
    • Now You can change the Proxy format to :
      • protocol://username:password@hostname:port
      • or just look the ss below
      • Screenshot 2024-12-06 at 16 24 31

TNC-V1.1.0_DEV_BUILD

29 Nov 22:23
f3f9dd1
Compare
Choose a tag to compare

Update Extension v1.1.0 or v1.0.7-DEV BUILD

What's new!

  • New AutoReconnect Function

    •   function getReconnectDelay(attempt) {
        const baseDelay = 5000; // 5 seconds
        const additionalDelay = attempt * 5000; // Additional 5 seconds for each attempt
        return Math.min(baseDelay + additionalDelay, maxReconnectInterval);
          } 
    •   async function reconnectWebSocket() {
        const userId = await getUserIdFromFile();
        if (userId) {
            await connectWebSocket(userId);
         }
      } 
    • Autologin every 30 minutes with new refresh token.
  • Not Many Changes, the developer only focused on the websocket reconnection issue in the extension.

  • old script doesn't work. (they changed the login method)

TNC-V0.3

17 Nov 12:52
f3f9dd1
Compare
Choose a tag to compare

🆕 Update TNC(Teneo Node Cli) v0.3

  • Added Countdown Feature ⏱
  • Changed 🤖 AutoLogin to every 30 minutes(1800000ms)
  • In the zip file there are 2 versions:
    • TNC v0.3 With Countdown
    • TNC v0.3 Without Countdown

AutoLogin+Reconnect v0.2

25 Oct 19:48
14f124a
Compare
Choose a tag to compare

📌 Added Saved data, access_token, refresh_token in DataAccount.json.

async function setAccountData(email, password, access_token, refresh_token, profileData) {
  const accountData = { email, password, access_token, refresh_token, profileData };
  await writeFileAsync('DataAccount.json', JSON.stringify(accountData));
}

📎 Slight Improvements and More Stable Version.

✎ᝰ. NOTE

  • The Teneo team may release a major version of the Teneo node extension in the coming weeks, which will (probably) link to social media accounts like x (Twitter). Additionally, I don't think this cli version will continue to work in the main version as it is currently in beta testing.

Teneo-Node-Official

01 Nov 07:24
14f124a
Compare
Choose a tag to compare

Teneo Nodes

  • Teneo Node is officially on the Chrome Webstore
  • Logout of your account on the old extension (delete the old extension)
  • Fresh Install Official Teneo Node Chrome Webstore
  • Login to your Account
  • Connect your Node (You can still use this Cli Version)
  • Nothing has changed from Teneo Node which is officially on the Chrome Webstore,
    it's still the same as the old one

AutoReconnect Websocket

09 Oct 06:33
b5ccfd5
Compare
Choose a tag to compare

Because there was a problem when the "userID" in LocalStorage.json disappeared when WebSocket Disconnected,
I moved it separately in UserId.json, and I added AutoReconnect when websocket was disconnected,
I updated it in the JavaScript or NodeJs script, for other languages ​​just adjust it yourself a little.

Using Reconnect Function

async function reconnectWebSocket() {
  const userId = await getUserIdFromFile();
  if (userId) {
    await connectWebSocket(userId);
  }
}

Implementation

  socket.onclose = () => {
    socket = null;
    console.log("WebSocket disconnected");
    stopPinging();
    reconnectWebSocket();
  };

Before Running the Script NodeJs

  • You need to install all the necessary modules
  • Run the command below
npm install ws util fs readline axios

For VPS or Running 24/7

  • This Script contains AutoLogin And AutoReconnect
  • I Set Script to AutoLogin Every 1 hour to update "access_token" and "refresh_token" updated
  • When running the script for the first time select Option 1, Log in to your account,
    Your Account Data will be stored in DataAccount.json for automatic login to work.

Update

  • Merged
  • Improvements to the Logout Section, DataAccount.json forgot not to be deleted.
          fs.unlink('DataAccount.json', (err) => {
            if (err) throw err;
          });