Git Product home page Git Product logo

transnoder-cli's Introduction

Transnoder

Made with the magic of Node.js and sockets.io, transnoder is a command line interface tool which enables you to send any kind of file directly from cli.

✨ Demo

demo-gif

⭐ Features

  • You can send any file, without going anywhere, right from your fav terminal
  • Do not store your files like others, it just redirects it to it's destination
  • Data is sent using base64 encoding
  • Saves your time

⚒ Technologies

The Project is created with:

  • Node.js
  • Sockets.io
  • Express

How to use

  • NOTE - to run on localhost, go to client/client.js and change the value of url to http://localhost:<port_number>
  • To run this project, Nodejs should be installed on your system, if not you can download it from here

🐱‍🏍 Run

Server

  • After cloning, go to server and client directory, and hit
npm install
  • Go to server directory and type
npm run start

This will start the server, and this server will be the mediator between both our clients, i.e sender and receiver

Client

  • Client as receiver, should be run first.
  • Go to Client directory and hit
node client.js <user_name>
  • user_name: it is alphanumeric string, must be given by user, to make unique user connection.

  • Client as receiver, should be run after receiver script, when terminal is saying this:
Ready to receive data...
  • Go to Client directory and hit, in a different terminal
node client.js <user_name> <file_name>

where,

  • user_name: it is an alphanumeric string with max length of 10 characters, must be given by user, to make unique user connection.

  • file_name: it is the desired file that is supposed to be send by the sender, should be in the directory of this current file. That means you need to move your target file here, to send before launching the script.

  • On successfull completion, you will see the new file created in the current working directory.

🛵 Things in motion

  • It supports sending any kind of file, whether audio, video, text, any file.
  • Messaging can also be implemented with this, and is currently in development.
  • The data is sent in chunks, in base64 encoded string, which can also be encypted and then send, by using any cipher algo of your choice.

ℹ Notice

  • Currently, it sends files globally, i.e all the receivers who are connected with the sender at a particular instance, are sent the file.
  • It do not checks whether, the receiver is present or not, it just sends the file, but receiver should be there in order to receive the file.
  • We can also check for a particular file that, does it exists or not.

🗄 License

MIT License

transnoder-cli's People

Contributors

daxter-army avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.