IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#i2p-dev
/2023/01/29
@eyedeekay
&eche|on
&zzz
+R4SAS
+RN
+acetone
+dr|z3d
+hottuna
+postman
+weko
An0nm0n
Arch
FreefallHeavens
Hidenet1
Irc2PGuest19856
Irc2PGuest2827392
Irc2PGuest33877
Irc2PGuest60956
Irc2PGuest68850
Irc2PGuest95543
Leopold
Onn4l7h
Onn4|7h
Palimpsest
ProRu
Sleepy
Soni
T3s|4_
Teeed
aargh3
admin
anon_
b3t4f4c3__
cheddah
eyedeekay_bnc
itsjustme
limak
not_bob_afk
orignal_
profetikla
qend-irc2p
rapidash
tbqdrn
theglitch
w8rabbit
x74a6
yourtrueself
zer0bitz
wodencafe Hey. I wrote this script to strip trackers off of torrent files, and add the postman tracker.
wodencafe I think this should be built into I2psnark somehow as a utility.
wodencafe A lot of the torrent GUI clients out there, they don't allow editing the trackers. And if they do, often it's the ability to add, but not remove.
wodencafe Configuring the trackers seems like a logical step for adding existing clearnet torrents to I2P, for cross-seeding, since the idea is to preserve the torrent hash.
wodencafe There is already an opportunity to configure trackers when creating torrents, but not when adding existing torrent files.
wodencafe Thoughts?
zzz what don't you like about our editor?
wodencafe I have no ability to strip trackers from existing torrent files.
wodencafe The only "editor" I even see is when creating torrents. This is a different use case, adding existing torrents from clearnet to I2Psnark
zzz torrent details -> edit torrent
zzz been there about a year
wodencafe Holy crap, I had no idea this was a thing. I wrote a shell script to do it since I couldn't find a better way.
wodencafe Well, good work :)
zzz it's ok. a little wonky
wodencafe I wish there was some kind of prompt about editing trackers when I was *adding* an existing torrent file.
wodencafe Maybe the GUI could prompt me if there are no existing I2P trackers on the torrent, to go to the "Edit Torrent" screen, or a dialog for editing the trackers, or something.
zzz yeah because the flow is add -> stop if it autostarted -> edit -> restart
wodencafe The existing flow, right.
zzz this is html, so prompts is hard
wodencafe It's jsp, no?
zzz sure, but we don't do popups
zzz we don't have clippy in the corner
zzz we could have a checkbox, edit before starting, maybe
zzz haven't thought of anything clean
wodencafe I click "Add torrent", perhaps in addition to "From URL" and "Data dir", there's a checkbox or radio button below that, "Edit trackers". If selected, then I'm taken to the edit screen after adding the torrent, and it does not auto start.
wodencafe There can even be a default value of true or false, depending on whether or not the torrent file has a "*.i2p" tracker in it.
zzz sure, but for magnet, or even for d/l of a big .torrent file, it's gonna take a while in the background, we can't hang there waiting
zzz so it's not easy to be 'taken' somewhere later
wodencafe I don't understand the objection. If one is adding a torrent to I2p, then it ought to have an I2p tracker associated with it, no?
zzz no because we have auto-opentrackers and DHT
wodencafe Perhaps I am looking at this from the wrong perspective, then. Perhaps when I upload the torrent to postman's tracker, instead of being given an error message that the trackers are wrong, perhaps postman can strip all the non-I2p trackers and add the tracker itself?
zzz you'd have to take that up with him
wodencafe Well, he's in this channel, so I welcome his input :)
zzz I'm not objecting, I'm saying it's very hard to "take" you someplace 5 minutes later in HTML
zzz this is not a real UI framework,it's just web pages
wodencafe I'm not sure what you are referring to by "5 minutes later". And while I haven't looked in-depth at the I2PSnark code (yet), I have a lot of experience with Java, and to a lesser extent, JSP. Java is my day job.
zzz if you add a magnet, or a URL to a .torrent file, you don't have anything to edit until you download it, which could be a while
wodencafe Thinking of other potential future seeders, I would like the UX to be better. It's not obvious to me that I can edit the trackers directly in I2PSnark. I had no idea that existed.
wodencafe Here's another question. Why does I2P not automatically strip non-I2P trackers when adding an existing torrent file?
zzz editor was discussed / announced here: zzz.i2p/topics/2873
zzz sure, the UX could be better, snark isn't exactly my main focus
zzz snark does strip the non-i2p trackers internally, and postman ignores them
zzz we just don't re-save the file after stripping
wodencafe That's not correct. Postman gives me an error if the torrent contains other trackers.
wodencafe And I'm not asking you, zzz, to make changes personally. I am asking that we come up with an idea for a better UX, and describe it, so that anyone can implement it when the time is right.
zzz you can also try i2p+ which has a lot of snark UI changes
zzz I could swear postman used to ignore them
wodencafe I'm not sure, but it doesn't currently.
zzz you can file an issue on the tracker website, he's unlikely to respond here
wodencafe I don't think postman's tracker is the issue though. Rather, the torrent should be prepped before it gets there.
wodencafe Well, something that needs more thought perhaps. I need to finally clone the I2P code and browse it.
zzz yeah but snark isn't involved in that step. You just go directly to postman site and upload direct from the browser into the form
wodencafe Blinded message
zzz sure, now that we're on git, might be easier for you to get involved
dr|z3d handy tool, that reseed tester, zzz. will it have proxy support, either by pulling the configs from the console or with command line switches?
dr|z3d could also do with an option to use the downloaded RI bundles perhaps. reseeder -test for test mode, otherwise attempt to download and deploy to netDb or -path /path/to/decompressed/RIs or something.
zzz please take what you get, don't ask for more, I asked for a couple weeks one short week ago
dr|z3d just treat them for what they are, not requests, just suggestions. if they don't align with your ideas, no problem, I won't be offended.
zzz every suggestion is another interrupt, they're not free. Discuss amongst yourselves please
dr|z3d if you're busy working on other stuff, that's fine too, I don't expect a response either.
zzz ok then please don't highlight me, I don't know how many times I've asked in the last 10 days
NULL Is anyone here aware of the release schedule timeline for the 2.1.0 easy bundle for OSX?
eyedeekay That would be mostly my problem right now
eyedeekay We're working on the final step, which is to get the package and it's binary contents "notarized" by Apple
eyedeekay This is required to distribute it to the users
NULL Leave it to Apple to drag their feet, sounds good thank you
eyedeekay This requires a combination of keys used for signing the bundle itself(the `.dmg`) and the code, which must be referred to in highly specific ways, and which are not well documented. We submit, get an error, correct it, refine script, submit again, get an error, correct it, refine script.
NULL I didn't realize it was the poorly documented of a process, haven't ever messed with building my own OSX App, but that sounds like a pain. I appreciate the continued effort towards it though. 1.9.0 works very well so far only issue I have come across is irc mangling issues with username and real name
eyedeekay If you're interested in doing a dev build it's actually quite simple to do so, takes about 5 minutes to set up and complete:
eyedeekay The second link is a short video showing the whole process
dr|z3d NULL: the irc username issue has been fixed in the latest release.
NULL That is what I have been informed of, doesn't cause me to many worries so I will deal with it till the next OSX bundle comes out. Atleast for my main machine
eyedeekay NULL it's well documented if you're writing Swift and using XCode
NULL eyedeekay, I will definitely check that into trying that out when I get back home later
eyedeekay But for people who have to link Java to binary code like we do in jbigi it's extremely obscure
NULL I believe I have both swift and XCode installed
NULL dr|z3d, thank you for letting me know though
dr|z3d if you want to be on top of releases, you might want to consider a manually installed java and the normal update process. that will keep you in lockstep.
dr|z3d as useful as the bundles are for beginners, anyone with a modicum of knowledge shouldn't find the standard install process difficult.
eyedeekay Be careful not to mix the easy-install and the jar install on Mac though
NULL I believe that is how I have my linux machines configured, I am currently utilizing the OSX easy bundle so I am not sure if I would be able to do that
dr|z3d you'd want to rename your existing i2p config dir as eyedeekay's hinting at.
NULL I am just dumb and didn't realize there was a jar version for Mac I had only seen the easy bundle install
dr|z3d by and large the .jar version is a universal (os-wise) installer unless stated otherwise.
NULL do you happen to know where the easy bundle places the config dir and what would need to be swapped to keep the easy bundle from breaking?
dr|z3d applications/support/i2p idk?
dr|z3d idk / eyedeekay.. :)
dr|z3d you could always try find / -name "i2p" from a terminal, assuming your mac ships with find.
NULL I did find it so I am going to attempt the jar version now
dr|z3d *thumbs up*
eyedeekay dr|zed has the right config directory I just always have to ask the internet whether MacOS uses a case-sensitive filesystem
eyedeekay (It does)
dr|z3d bsd based, so yeah, eyedeekay :)
dr|z3d windows is the outlier.
eyedeekay Actually I've said that backward at least according to this: discussions.apple.com/thread/251191099
eyedeekay Which is why I always lose track
dr|z3d tldr eyedeekay?
eyedeekay MacOS is case-insensitive I guess
eyedeekay At least, by default
dr|z3d oh, it appears you're right. another proprietary extension to a well established standard :|
NULL We are back now on the jar 2.1.0 version, however had to use the runplain option as the wrapper isnt supported in the current version of java for Mac.
eyedeekay It's a thing I've known about for ages that own my mind rebels against it every time it comes up
eyedeekay *my own mind
dr|z3d you got it right first time. Apple does want to own your mind :)
dr|z3d not to mention your wallet.
eyedeekay Too true