Commit graph

4 commits

Author SHA1 Message Date
Kumi 2394a9f6ee
feat: improve security and error handling in app
- Added `helmet` middleware for enhanced security with CSP.
- Integrated `dotenv` for configuration management.
- Added validation and error handling for mnemonic and infoHash.
- Improved error handling in TURN credentials generation.
- Enhanced notification and progress feedback for file sharing.
- Added tracker server config validation and error handling.
- Updated dependencies to include `helmet` and `dotenv`.

These changes improve the app's security, robustness, and user experience.
2024-06-24 10:40:32 +02:00
Kumi f87ec52173
chore(dependencies): remove unused dependencies
Upgraded the package version to 0.0.2 and removed several unused dependencies such as multer, socket.io, and webtorrent. This cleanup helps to reduce the package size and potential security vulnerabilities. Retained essential dependencies like express. No functional changes to the codebase.
2024-06-16 17:36:51 +02:00
Kumi 6a2bfdbf60
chore: bump version to 0.0.2
Updated package version from 0.0.1 to 0.0.2 to reflect recent changes and improvements. This helps in tracking and managing dependencies better. No functional changes introduced.
2024-06-16 17:35:04 +02:00
Kumi a53fabdec1
feat: add initial WebTorrent-based file transfer app
- 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.
2024-06-14 16:57:55 +02:00