Avatar
itszachnotzak
ed2023dcfdc71ab592c352f4190fe3c5bf7efc82fbdc668b7fadf77eb7b9e77d
Imminently unemployed software engineer

I pretty much spend all my time working for someone else, working on someone elses projects. Tonight that changes. I don't want to die—melodramatic I admit—and never have even tried to make my own project.

Wish me luck.

Does anyone have a recommendation of a nostr bot to study?

It makes me want to make a client. The author of the client had a video made a point about Open Source that I had never considered:

Most Open Source is for the person who wrote it that they don't mind sharing what they made for themselves, with others.

I am really enjoying the Gossip client.

Basically JSON looks like this:

```

{

"key": "value",

"key2": 23,

"valid": true,

"name": null

}

```

It's not an exhaustive example but will suffice.

Relays can send 3 types of messages which must be JSON arrays (JSON is a popular data format)

Examples from the doc:

```json

["EVENT", , ], // used to send events requested by clients.

["EOSE", ] // used to indicate the end of stored events and the beginning of events newly received in real-time.

["NOTICE", ]

```

In nostr there is only one object type called an event. An object is kind of a way to define a thing. For example, contrary to popular belief, humans are objects. Even me. We have attributes that are common between us. Like eyes, hair, melanin, etc.

These attributes are in general the same, they can be described differently. For example my eyes might be blue, yours might be green.

This is true for events in nostr. Events, in general, will have the following attributes:

- id - a unique id

- pubkey - a public key

- created_at - timestamp of even creation

- kind - kind of event

- tags - list of tags

- content - content as a string (in simple terms, a string is text, this whole post is a string)

- sig - the signature

I'm reading NIP-01 again.

Ask me questions so I can explain it. If I succesfully explain that means I understand it.

I will not be accepting zaps in the immediate future. Because they are the devils magic. or something.