9b
9bed45ee
9bed45ee7c3241eea3ba74921a2b822c73f1447e5962314205d91a78cc99622e
nostr:npub146y59dkatpwkx0ncs9u34vhmm60dedmdla0s8zy8yw22pqfj4huq36dp2y

i wonder if we have any standard about what should be allowed in hashtags

iris renders

#iris-ipfs as hashtag, but primal shows #iris as hashtag and then -ipfs as text

how about this format?

hostr:p/12daa8df16d9a5d232c14601571a5bf155329a0725aa31af58e7826f8ebd6f1c/d/fileloader.html

with brave, this should work:

ipfs://bafybeiaefunzf7j2fmduiowqa3wqbbikhi6vsuergvunw7jvtyq5pwp7/#/note1zmefkecr6twksx27q4k77n6lqd4rqr8g7s7ew2vrfa0zmrl9vamq4urr9v

maybe link like this:

hostr:a77ec9cc45b080cef42ffc2e2045e48dc97b2497aaf9a666b69782f8489f471b

so i intergrated hostr into #iris-ipfs

https://bafybeihypyqclc5spvhwazcm6vo542u3laprseoxiuvy36xthey5su2kny.ipfs.cf-ipfs.com/#/hostr/e0f64a05c89032aac28469e1656faf4425e1ca5faddade84237132e79072a18c

https://bafybeihypyqclc5spvhwazcm6vo542u3laprseoxiuvy36xthey5su2kny.ipfs.cf-ipfs.com

```js

function hostr_loader(){

let m = location.hash.match(/^#\/hostr\/(\S+)/)

if(m){

let id = m[1]

let s = new WebSocket("wss://relay.nostr.band")

s.onopen = () => {

s.send(JSON.stringify(["REQ","q",{"ids":[id]}]))

}

s.onmessage = e => {

s.close()

document.body.outerHTML = ""

let f = document.createElement("iframe")

console.log("data", JSON.parse(e.data)[2].content)

f.src = "data:text/html;base64," + btoa(JSON.parse(e.data)[2].content)

document.body.append(f)

}

}

}

hostr_loader()

```

we could use any nostr app as #hostr webhost https://iris.to/

just load content into iframe

it wont be able to access sensitive data like localStorage

url could be something like:

https://iris.to/hostrf2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6cc

which would execute code like following (where f.src would come from hostr note, we would convert hash "hostrf2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6cc" into hex and query from relay):

document.write(""); f = document.createElement("iframe"); f.src = 'data:text/html;,'; document.body.append(f);

im not sure if its good idea to generate names client side

my client side generated name is Square Gibbon, but you cannot use search to find my user, because the name is client side generated

now you can, because i said that name in this note, so you can find this note

Replying to 9bed45ee...

#seeding self created #torrent confirmed to work through #tor

https://btorrent.xyz/

sudo orjail firefox

#btorrent #webtorrent

nostr:note1k969q5eq8yxk5v7htpzxu205hylx75t57yr92ke9tcrxh2r5samqtyld2c

tor seed -> clearweb peer