abemassry / wsend Goto Github PK
View Code? Open in Web Editor NEWwsend: The opposite of wget
Home Page: https://wsend.net
License: GNU General Public License v3.0
wsend: The opposite of wget
Home Page: https://wsend.net
License: GNU General Public License v3.0
I think that it could be useful to be able to delete a file from CLI if we are the owner of this file, quicker than by the web interface (don't like to leave my console) and useful for scripting purpose.
Another pratical use case : want to push an updated version of a file without keeping the old reference anymore. A possible way to achieve that would be to provide a request with user id (for owner identification), the original link to the last uploaded version and the new version as attachment.
I also thought about a request to retrieve the full list of uploaded files, but I think we can manage to keep it on local side or update (so the purpose of update request ;))
Hope it seems useful for other ones
If possible, provide a native v3 onion domain under which wsend.net is reachable.
whilst installing wsend into $HOME/.wsend for a user is convenient, it should be possible to at least run it as a portable executeable that doesn't install itself locally [or if unavoidable, into a folder under ./.wsend or ./wsend and not $HOME/.wsend.
I understand why there might be a need to do so [i.e. to keep the "id" file which includes the API key used to identify installations - both anonymous and registered.
In case this seems exploitable for malicious use-cases, I'd be happy if this features would require not only --portable or similar flag, but also a --login flag.
I could even accept if this functionality would be limited to paying customers.
It would be cool if you could add a time-to-live argument to wsend.
Something like
wsend [-d DAYS] [-h HOURS] [-m MINUTES] [-s SECONDS] FILE
Dear @abemassry,
the guide says that a user must type curl -F "start=1" https://wsend.net/createunreg
to get an id, but curl 7.86 on Windows returns nothing when I do so. What else could I try?
How can one uninstall wsend?
When new version is detected, all relevant files are retrieved from raw.github.com/abemassry/master repositery:
downloadLastVersion() {
wsDL=$(curl -s -o $wsend_base/wsend https://raw.github.com/abemassry/wsend/master/wsend)
chmod +x $wsend_base/wsend
#supporting files as well
rmDL=$(curl -s -o $wsend_base/README.md https://raw.github.com/abemassry/wsend/master/README.md)
cpDL=$(curl -s -o $wsend_base/COPYING https://raw.github.com/abemassry/wsend/master/COPYING)
newLatestVersion=$(curl -s -o $wsend_base/version https://raw.github.com/abemassry/wsend/master/version)
}
Problem currently occurs now as raw.github.com is redirected to raw.githubusercontent.com
Issue can be fixed by adding -L
option to curl
, forcing it to follow redirection.
But clearly, all users will need to manually update once it will be fixed.
Is there a delete option for the hosted web version: https://wsend.net ?
As a followup to my issue on wsend-gpg, I'm now having troubles with wsend's install/update scripts.
I updated wsend-gpg with the corrected code and tried to invoke, but when it calls wsend it remarks about a new version being available and chokes. I rm'ed the entire .wsend directory and ran the "two-line install" command from readme.md, but all the files created (version, update.sh, README.md, etc) were html saying "400 bad request / your browser sent a request that this server could not understand"
This update mechanism is rather brittle!
A referral link would be an awesome way to share wsend, as opposed to the "enter the user's email" system that you currently have in place.
Just spitballing here, but perhaps you could offer this to paid accounts only? Since referral links are a tool for getting referral rewards (extra space), offering referral links to people who meet the paid requirement might be a good carrot to get more people to buy in.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.