Comments (7)
Released!
from ipfs-deploy.
Hello @ekumahost! Can you elaborate a bit more, please? I understand the issue, I just want to understand why is it an issue to find a better way to fix it.
When selecting a single file, like you do, do you expect it to be wrapped in a directory? Or do you expect that the domain will be pointing directly to the file itself? I will make a solution depending on those expectations.
from ipfs-deploy.
@hacdias I would expect it to point directly to the file 😅 This would be great! Currently the files are dependent upon one-another since the hash is for the whole directory, but would be super nice to be able to upload single files too 🙌
from ipfs-deploy.
@asbjornenge changing this is quite simple (please take a look at #226). The PR adds a warning, but lets it continue. Perhaps this should be a flag instead.
Could you just give me a use case so I can understand? IPFS Deploy is meant to be used to deploy websites. I've never opened a website whose root is just a file and no directory.
from ipfs-deploy.
Nice 🤩 Well, my current use-case is that I link to content on IPFS for different data - sometimes a JSON blob and sometimes an image etc. Sometimes the json contains links to other data on IPFS. In my mind it makes it clearer to point directly to these individual pieces of data instead of linking to <OLD_FOLDER_CID>/path/to/filename.json where these paths and/or other files might not be relevant anymore 😅 Makes it easier to grep for the data hash etc.
Has this new feature been released to npm yet?
Thanks 🙌
from ipfs-deploy.
I haven't yet. It seems you're using this tool to add any arbitrary file to IPFS. However, this tool is build with websites in mind and that's why I'm very curious about the use case.
from ipfs-deploy.
Yeah sure 😊 I'm using it for websites too, but arbitrary files also 👍 Another example would be say an image or js library shared between two websites. Both could reference the CID of the image or js lib without having to include them. If the fix is that easy, I don't really see a reason not to add it when clearly people want to use it 😅👍
from ipfs-deploy.
Related Issues (20)
- Consider removing ipfs-http-client dependency
- Crash on xsel not available. HOT 3
- Consider not copying to the clipboard by default or remove such functionality
- Log output now printed to stdout. HOT 4
- Cloudflare DNS update keeps on adding TXT entries, doesn't override or remove old ones. HOT 6
- got error hash : dnslink=/ipfs/undefined HOT 3
- Feature request: keep only the latest N revision for a given name HOT 1
- How does this work? Does it assign a CID to the entire directory? HOT 2
- Error: Found inconsistency in pinned CIDs while uploading to both pinata and infura
- TypeError: terminated HOT 1
- 400 when updating Cloudflare dns-link if web3 gateway is enabled HOT 2
- Add support for the IPFS Pinning Service API HOT 1
- Deprecate IPFS Deploy HOT 6
- infura error: project id required HOT 3
- 🆘 Needs Maintainer HOT 2
- How using pinata API keys? HOT 5
- add support cloudflare web3 gateway HOT 1
- Emit CIDv1 instead of v0
- Broken in Node 18.13: "TypeError: RequestInit: duplex option is required when sending a body" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipfs-deploy.