r/PowerShell • u/Creative-Type9411 • Aug 22 '26
Misc PowerTorrent: A Powershell 5.1 BitTorrent client
This is showcase piece. It is fully functional, but is not going to beat an actual torrent client in terms of speed.
This is WPF GUI, C# type defs and Powershell 5.1. It will work on Windows 10+ with zero dependencies or pre-reqs needed.
It can be used from CLI or with a UI, there are several themes for the UI and settings can be adjusted/saved to a ini file which sits beside the script.
https://github.com/illsk1lls/PowerTorrent
I had parts of this built out for a long time, over a year, I was having trouble with DHT implementation, over the course of around the last year or so Ive been implementing AI into my workflow so I was finally able to get this buttoned up with Grok's (4.6) help, and now I can finally share it.
3
u/jarranakin Aug 23 '26
7000 lines of pure gold. And a decent wpf UI to boot. Very nice. Ive only ever used winforms, i will have to try this UI design out.
3
u/jborean93 Aug 24 '26
This is a genuine question and not trying to be an attack in any way but why go through the effort of creating this monolithic PowerShell script vs just using C# in the first place and compiling it to an exe?
You loose so many things like intellisense for the C# side in the editor, having to deal with PowerShell's multithreading weirdness, having to still require PowerShell to invoke this, a hit during compilation during runtime, etc.
Power to you and people wanting to do this but to me it just seems like the combination of all the negatives on both sides with no benefit.
4
u/[deleted] Aug 22 '26
[removed] — view removed comment
3
u/[deleted] Aug 22 '26
[removed] — view removed comment