forked from PrivateCoffee/transfer.coffee
Kumi
a53fabdec1
- Initialize new Express application for file transfer using WebTorrent. - Set up routes for generating and retrieving mnemonics and info hashes. - Implement custom BitTorrent tracker server with WebSockets. - Add `.gitignore` to exclude `node_modules/`. - Create `index.ejs` for front-end with file upload and download functionalities. - Initialize `package.json` and `package-lock.json` with necessary dependencies.
27 lines
683 B
JSON
27 lines
683 B
JSON
{
|
|
"name": "transfer.coffee",
|
|
"version": "0.0.1",
|
|
"description": "A WebTorrent-based file transfer application",
|
|
"main": "app.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"start": "node app.js",
|
|
"tracker": "node tracker.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.private.coffee/PrivateCoffee/transfer.coffee"
|
|
},
|
|
"author": "Private.coffee Team",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"bip39": "^3.1.0",
|
|
"bittorrent-tracker": "^11.1.0",
|
|
"ejs": "^3.1.10",
|
|
"express": "^4.19.2",
|
|
"multer": "^1.4.5-lts.1",
|
|
"socket.io": "^4.7.5",
|
|
"webtorrent": "^2.4.1"
|
|
}
|
|
}
|