Re: Manually storing DHT content

2021-02-17 Thread TheJackiMonster
On Wed, 2021-02-17 at 14:12 +0100, Schanzenbach, Martin wrote: > Sounds a bit like you want to build something on top of messenger and > fs actually. > > Storing blog posts (e.g. html pages) in fs seems reasonable to me. > And using > the messenger feature for propagation/notifications of updates

Re: Manually storing DHT content

2021-02-17 Thread Danny
Right, I was thinking about using fs initially. I'm thinking of probably using Markdown, or something really simple as the markup language. Nevertheless, I think it would also be useful for posting very small messages. Look at twitter. But once people are going to use it for a twitter-like experien

Re: Manually storing DHT content

2021-02-17 Thread Schanzenbach, Martin
Sounds a bit like you want to build something on top of messenger and fs actually. Storing blog posts (e.g. html pages) in fs seems reasonable to me. And using the messenger feature for propagation/notifications of updates and possibly comments would allow you to build a content platform around

Re: Manually storing DHT content

2021-02-17 Thread Danny
Hmmm, that's definitally interresting. I was actually more concerned with a blog-like situation where messages can be considered to be posts and are available to the public, preferably indefinetally. My objective in this case is freedom of speech, not so much confidentiality. I don't know how lon

Re: Manually storing DHT content

2021-02-17 Thread TheJackiMonster
Hey Danny, if you want to share small content as text messages inside of a group of people, you could take a look at the messenger service, I am working on. It could be possible that it already fills your needs. You can open something like a chat-room on peers to exchange messages in a decentrali

Re: Manually storing DHT content

2021-02-17 Thread Danny
Hey Christian, First of all thank you for the answer. Actually, I'm thinking of creating a `social blog` application in which friends connect to friends. I was hoping for some way of ensuring persistence of content across a (social) network. The friend peers could best be providing for the storag

Re: Manually storing DHT content

2021-02-17 Thread Schanzenbach, Martin
Note that DATACACHE technically has a _put API, but you cannot put things into the datacache of a running DHT service as it manages its own local "cache". At least that is how I understand the API: you cannot access caches created through DATACACHE_create() by another service. You can only put da

Re: Manually storing DHT content

2021-02-17 Thread Christian Grothoff
Nope, datastore is _only_ for the file-sharing subsystem, datacache is for the DHT (alas DATACACHE does not have such an API, you must use the GNUNET_DHT_put-API). Happy hacking! Christian On 2/17/21 11:57 AM, Danny wrote: > Hey guys, > > Quick question. > Can I use GNUNET_DATASTORE_put for man

Manually storing DHT content

2021-02-17 Thread Danny
Hey guys, Quick question. Can I use GNUNET_DATASTORE_put for manually storing content that would be available by DHT GET requests from others nodes? Thanks! Danny