. | . |
---|---|
counting of visitors to this page in this section started from Sept 9, 2023
[Python + Flask] DFile: A fancy S3-based file sharing mode
Home Page: https://dfile.app
Here's the Weekly Digest for coolcode/dfile:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository coolcode/dfile to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Hi,
First of all, thank you for your great application!
It's awesome to see IPFS based solutions in an area where IPFS is really good (hosting files).
And going with support from the command line is just lots of bonus points too!
But...
There are a couple of issues.
First of all, uploads don't work. That's quite a big issue :)
With a file of ~6MB i get this error:
<html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>
And with a file of just ~300KB i get this error:
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>
Both were with using the dfile ZSH function.
But uploading via the site itself also didn't work for me.
Second, and this i do take issue with as it's highly misleading. You claim files are stored forever. That is quite simply just not true. As you probably know, IPFS relies on pinning to keep files alive. When i'm uploading a file using your service it's likely being pinned on your IPFS instance (it is automatically if you internally do ipfs add ...). And your server, despite your best intentions, will by no means have the ability to hold the promise of keeping all the files online. I would like to ask you to please clarify this on your site. You could even extend your service a little to add notification support and send the uploader of a file a mail - say - one week before you unpin it. If it doesn't have any pins after that and no recent visits then the file will in fact be gone from IPFS.
Cheers,
Mark
[Webpagetest Report]
https://www.webpagetest.org/result/191016_JP_291920e324a5c38d4ba156b4b71b8a1f/1/details/#waterfall_view_step1
[Pingdom Report] https://tools.pingdom.com/#5b7540b91bc00000
Here's the Weekly Digest for coolcode/dfile:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository coolcode/dfile to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
This bug was described from the use ycao.
Steps:
Here's the Weekly Digest for coolcode/dfile:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository coolcode/dfile to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
dfile() {
if [ $# -eq 0 ]; then
echo -e "No arguments specified. Usage: echo dfile /tmp/test.md cat /tmp/test.md | dfile test.md";
return 1;
fi;
tmpfile=$( mktemp -t transferXXX );
if tty -s; then
basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g');
curl --progress-bar -F file=@"$1" "https://dfile.herokuapp.com" >> $tmpfile;
else
curl --progress-bar -F file=@"-" "https://dfile.herokuapp.com/$1" >> $tmpfile;
fi;
cat $tmpfile;
rm -f $tmpfile;
}
What is the fish shell?
dfile.fish (~/.config/fish/)
function dfile --description "https://dfile.herokuapp.com"
if test (count $argv) -eq 0
echo "No arguments specified. Usage:\necho dfile /tmp/test.md\ncat /tmp/test.md | dfile test.md"
return 1
end
## get temporarily filename, output is written to this file show progress can be showed
set tmpfile ( mktemp -t transferXXX )
## upload stdin or file
set file $argv[1]
set basefile (basename "$file" | sed -e 's/[^a-zA-Z0-9._-]/-/g')
if test -d $file
# zip directory and transfer
set zipfile ( mktemp -t transferXXX.zip )
# echo (dirname $file)
#cd (dirname $file) and echo (pwd)
zip -r -q - $file >> $zipfile
curl --progress-bar -F file=@"$zipfile" "https://dfile.herokuapp.com" >> $tmpfile
rm -f $zipfile
else
# transfer file
curl --progress-bar -F file=@$file "https://dfile.herokuapp.com" >> $tmpfile
end
## cat output link
cat $tmpfile
## cleanup
rm -f $tmpfile
end
Message from google search console:
Search Console has identified that your site is affected by 3 Mobile Usability issues:
Top Issues:
- Text too small to read
- Content wider than screen
- Clickable elements too close together
We recommend that you fix these issues when possible to enable the best experience and coverage in Google Search.
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.