Some examples

Some examples

Some examples

The 'profileExamples' contains some examples how to define a specific group and provide the content by defining it as a yaml file.

Group examples

The description of an example as an example.
The example describes how a group can be managed in NOSTR, what kind of Data you need, what you can do with it and how. The profile creator can be a tool in this work flow.

This account describes an group or an organization. It is an example of what can be done with NOSTR to provide a censorship residence presence.
Laws may change and what was formerly accepted can be illegal tomorrow or even today.
Maybe tomorrow it is not longer allowed to show how to build a censorship residence presence in the Internet because censorship take place.

The YAML file is /nostr-account-publisher/profileExamples/group-example.yaml

Check out:

https://accountexample-no-3.npub.pro/
https://nosta.me/npub1aj2c7yel4tsdgwp0c3rg9pjsml5wgc0wll6mcs85pr0wr42uwqys443aty

We use the markdown files in doc as articles.


klarmachen-ändert

A small web project of mine which i formally hosted but currently is offline.
This profile contains primarily articles, aka longforms. I have a html snapshot if the old site(it was 'powered' apache roller a java blog software).
It could be extended by an calendar in which the found stickes are noted.

Step by step:

  1. copy the example Yaml file and rename
  2. edit the yaml file, add the obvious data (name, about etc.)
  3. provide the content, in this case I have html files which i need to transform to markdown, for this I use pandoc, the result is not perfect as the input is not perfect.
pandoc -f html -t markdown entry_spiegelneuronen_und_identitaet.html -o entry_spiegelneronen.md
  1. make the content look right, i need to work the markdown, also i need to collect all used images to upload then to an hoster service.
  2. add the image urls to the articles and the in the yaml file
  3. I use a calendar in a special way, as a collection of space and time, when and where a Sticker was placed. This is hard work, not only you need to upload the images but also find the geoHash and the unix timestamp for the time (https://www.epochconverter.com/) and the location (https://www.geohash.es/encode and https://www.openstreetmap.org) of the sticker.

As I want a simple mirror of the content, without any engagement, this will be it.
Now I need a private Key, you could use a Hardware Signer, but as i'm no institution there is no real need, so I can create a private key from math.(Cheaper and faster).

When you are absolute sure you will not update the content, you can simply destroy the private key and keep the signed events in json form, you can use them to reupload the content without the private key as each message is already singed and valid.

In this case, I might update the calendar, if some one make a new event containing a sticker, so I need the private key late, to update the calendar, so I store it(safely). A good site to generate the key is https://nostrdebug.com/keys

The last step is a nice feature you can create a simple page with npub(https://npub.pro/).

https://klamachen.npub.pro/

https://nosta.me/npub1e08sn2pjw3neq6ychu7vpfauyw3d59zz7lyd58wls05vtmcxc95qk5d38a

This post and comments are published on Nostr.