I *think* I was first, then Jack 2nd
We need to fetch a list from 13th Jan, there may be others...
Hi Nostr π
I just deployed a new version of Hamstr:
Hamstr has been completely rebuilt from the ground up and is no longer based on astral. This means that it's leaner and faster ποΈ
Now with NIP07 browser extension support!
οΈ
Try it out at https://hamstr.to β€οΈ
Outstanding client!
Congrats!
I think you are the 3rd
I put that design into ai chat, and this came out:
```
// Solution
// Setup authentication with your nostrID
const authentication = nostrID => {
if (nostrID == valid){ // Check is nostrID is valid
return 201 // Return valid result
}
else {
return 401 // Return invalid result
}
};
// Initialize variables for HTTP & URLs
let http = "";
let saveUrl = "";
let getUrl ="";
// Setup HTTP
http = new XMLHttpRequest();
// Setup GET and PUT URLs
saveUrl = "https://mywebsite.com/save";
getUrl = "https://mywebsite.com/get";
// Save File
http.open("PUT", saveUrl, true); // Open PUT request to save file
let token = authentication(); // Authenticate with nostrID
http.onload = function() { // When onload is called
if (http.status == 201) { // Check if authentication succesful
let data = http.responseText; // Get response from PUT request
console.log(data); // Log data
}
};
// Get File
http.open("GET", getUrl, true); // Open GET request to get file
let token = authentication(); // Authenticate with nostrID
http.onload = function() { // When onload is called
if (http.status == 201) { // Check if authentication succesful
let response = http.responseText; // Get response from GET request
console.log(response); // Log data
}
};
```
testing a code snippet in javascript
```JavaScript
console.log(0)
```
# testing a code snippet
```
console.log(0)
```
HTTP is the protocol of the web GET is used to load a file, and PUT is used to save a file
To save to your hosting you'd need to be able to save a file, but also prove it's you, because you dont want everyone uploading, so you could authenticate.
Since you already have a nostr ID, you could authenticate with that.
If successful the "created" result (201) is returned. And your image will be on your server at a URL
That URL then goes in the post and you get to see your image from your own web hosting.
HTTP PUT with authentication via your nostr key
If you 201 [created] is returned the picture URL is inserted into the post
Proof of publication for all #nostr IDs in the early data dump. This does not fully infer Sybil resistance. But it is possible to prove the age of your account. A better, but more expensive, approach would be to put your npub in an OP_RETURN
https://twitter.com/melvincarvalho/status/1614344130825535491
I cant even use Damus, bu this is funny
The medium is the message πππ
Actually I think monstr got audio and possibly video calling working today. Work in progress.
Write a beautiful post in markdown saying why nostr is amazing, and include images
I made that. I'm going to do all the NIPs
Bitcoin's 2nd developer. Legend.



