Code Monkey home page Code Monkey logo

sender's Introduction

๐Ÿ“ Sender

This is a simple Node.js program that allows you to send files from one computer to another.

๐Ÿš€ Getting Started

To use this program, you need to have Node.js installed on both the sending and receiving computers. You can download Node.js from the official website: https://nodejs.org/

Once you have Node.js installed, you can download or clone this repository to your local machine.

๐Ÿ“ Usage

๐Ÿ–ฅ๏ธ Server

First you need to run server by

npx ts-node server

default settings:

"output": "output",
"port": 9090,

if you want to change them edit server/settings.json

๐Ÿ–ฅ๏ธ Client

tu run client you have to be in dir you want to send or its parent and run command

running

npx ts-node [path to client dir] -p <path to dir you want to send>

example:

npx ts-node ../sender/client -p dir1/example folder
"ignore": ["node_modules", "tests", ...files/folders you want]

auth

you can write address and key that server shows or add auth_config.json that server generates to client folder

you can ignore files by adding

now you just need to accept connection on server and send transfer

sender example
<script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

๐Ÿ“œ License

This program is licensed under the MIT License. See the LICENSE file for details.

๐Ÿ“ง Contact

If you have any questions or suggestions, please feel free to contact me at [email protected].

Thank you for using this program!

sender's People

Contributors

real-kijmoshi 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.