6 ms·
Show HN: A simple GUI for uploading large files to S3
- codemonkeychuck 10y agoA very simple GUI app written in Python + Tkinter/ttk (using the boto3 python package) meant for non-technical people to upload large files to S3 buckets. It uses a config file so you can customize the credentials and the buckets that they are allowed to upload into. It currently uses py2app to build an OSX app but it's also possible to just run the s3_uploader.py script directly to start it up.
- discordance 10y agoAwesome. Good job. Feature request: On hitting cancel, could that be 'resume'/ 'clear' ?
- cyphar 10y agoIt looks like it's missing a license file. Would you mind if you specified a free software license for your project?
- codemonkeychuck 10y agoHi, I just added a MIT LICENSE file to it.
- dyeje 10y agoCould you add a link to see the GUI or some screenshots? It would be nice to see the GUI before taking the time to set it up. Great job!
- deleted 10y ago[deleted]
- yanokwa 10y agoHere ya go! http://imgur.com/SoouwvS http://imgur.com/SoouwvS
- minus7 10y agoAdd a gif/webm of it in action to your readme. That will make it a lot easier and nicer to see what it's doing.
- codemonkeychuck 10y agoI uploaded a quick screencapture to youtube and updated the README file to point to it. Hope that helps. The youtube link is https://www.youtube.com/watch?v=ciA5XX3CIOs https://www.youtube.com/watch?v=ciA5XX3CIOs
- codemonkeychuck 10y agoHi, Thanks. I added a screencapture video to the README file. It's on youtube here https://www.youtube.com/watch?v=ciA5XX3CIOs https://www.youtube.com/watch?v=ciA5XX3CIOs
- codemonkeychuck 10y agoFWIW I uploaded a newer Youtube screen capture with some of the changes that were suggested here: https://www.youtube.com/watch?v=ahXHOTSKi-4 https://www.youtube.com/watch?v=ahXHOTSKi-4
- bpchaps 10y agoNeat. I had lots of issues with S3 about a year ago. If I had any sort of network saturation from, well, uploading files, the connection would die while keeping the files up in s3. I couldn't find any direct way to do any sort of checksums directly on S3, either, so some hackery had to be done to upload incomplete files without duplicating bandwidth. It was pretty frustrating at the time!
- ben_jones 10y ago"I hope he used python for this". Was not disappointed. Cool project OP!
- olavgg 10y agoThis is cool! If you could make it possible to specify host, then it would possible to use this to upload directly to CephFS via Rados Gateway's S3 API.
- tobilg 10y agoThat would be great, and maybe also a http/https checkbox...
- codemonkeychuck 10y agoHi, thanks for the idea... I can't seem to figure out how to set the host using boto3. I'm still digging through their documentation though. If you know or have an example please post a link or send a pull request if you get it to work.
- tyingq 10y agoMight be nice to have a feature to prevent shoulder surfing...the credential info appears to be readable at a distance. Perhaps fading to a very low contrast font color, or hide/show to flip from "* * * * *" to "password". Maybe prefilling the S3 filename with the basename of the selected file as well?
- codemonkeychuck 10y agoHi, thanks for the ideas. I just added a toggle visibility button (flips between "*" and the real text) for the AWS credentials. Also added the prefilling of the S3 filename with the basename of the uploaded file.
- iocpdram 10y agoDoes this work after you put your laptop to sleep?
- codemonkeychuck 10y agoshrug I started a big upload and closed my MBP's lid and opened it a minute later and it was done. Also tried it by selecting "Sleep" from the Apple menu and that also seemed to complete. I think it's more dependent on the configuration of the OS (if it has wifi while sleeping etc)... my OSX apparently continues my upload when I tell it to sleep though in the "System Settings" > "Energy Saver" pane I have "Wake for Wi-Fi network access" turned on and I'm plugged in to the power adapter so may be that's what's letting it work.