-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add image to post from local device #93
Comments
@sondreb , I hope you're doing well! I'm eager to contribute to this issue. If you could provide a bit more clarity on where exactly this feature needs to be integrated, I'd greatly appreciate it. Thank you kindly for your assistance. |
The idea is basically similar to how GitHub supports uploading images, if you copy an image anywhere on your computer you can go into the chat box here and paste it in. It will upload and fill in the link to the image in the text. Since we don't do live preview support on Notes (and neither does text editor on GitHub), implementing it similar to GitHub would be OK. |
@sondreb could u assign me this issue I would like to work on it. |
I suggest that you think about uploading files to IPFS |
@miladsoft which infrastructure service should I use as Infura is a prominent one and is currently out of service for ipfs? |
|
I found out you can actually set up your own IPFS node using Docker, which makes it surprisingly easy. Think of Docker like a magic box that lets you run programs in these isolated environments. Pretty neat! Here's what you'd need to do: Grab Docker: First things first, you'll need Docker installed on your machine. Download IPFS: With Docker set up, you can download the IPFS image using a simple command in your terminal (that's the command prompt thingy). It's like getting all the IPFS stuff ready to use. Run Your Own Node: This is the exciting part! Another command in the terminal will fire up your very own IPFS node. You can customize where you want to store your IPFS data too. By the way, running your own node is way better than relying on services like Infura or Fleek – trust me! Web Interface (Optional): If you prefer a more user-friendly way to interact with your node, there's actually a web interface you can access through your browser. Use IPFS Commands: Once your node is up and running, you can use special commands to upload and download files. It's pretty straightforward! That's it! You'll have your own IPFS node running on Docker, ready to explore the world of decentralized storage. If you get stuck anywhere or have any questions, feel free to ask – I'm happy to help! |
|
Thanks @miladsoft I have some experience with docker I will try to implement it and share the results. |
@miladsoft I was able to upload files at docker container of ipfs-go and was able to retrieve it how could I implement it to the code base could u give help me with that. |
Great work! I admire your perseverance. |
@miladsoft I found doing it with docker a bit difficult so I did it with pinata and pushed in the pr. |
While we should add support for pasting images directly into the content editor, we should also add a file browser option:
https://web.dev/progressively-enhance-your-pwa/
The text was updated successfully, but these errors were encountered: