Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Postiz
  3. Nostr settings for Postiz ?

Nostr settings for Postiz ?

Scheduled Pinned Locked Moved Postiz
5 Posts 2 Posters 54 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote last edited by timconsidine
    #1

    Trying out Postiz and got X, Bluesky and Mastodon connections (channels) working.
    But I can't get Nostr added.

    Postiz web docs don't even mention Nostr although the Postiz app does show Nostr as a channel.

    I tried adding this to the env file via File Manager :

    NOSTR_PUBLIC_KEY=your_nostr_public_key
    NOSTR_PRIVATE_KEY=your_nostr_private_key
    NOSTR_RELAY_URL=https://relay.nostr.band
    NOSTR_EVENT_KIND=1
    

    Anyone else managed to get Postiz working with Nostr ?

    1 Reply Last reply
    0
    • robiR Offline
      robiR Offline
      robi
      wrote last edited by
      #2

      /cc @nostrdev

      Conscious tech

      1 Reply Last reply
      1
      • timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote last edited by timconsidine
        #3

        Done it ! 🍾
        Experimented with different settings, aided by Ollama
        And maybe also fixed by updating the Postiz app to latest Cloudron release which was just available.
        The settings I am using in env (edit in File Manager) are :

        NOSTR_PRIVATE_KEY="your nsec key here"
        NOSTR_RELAYS="wss://relay.damus.io, wss://relay.nostr.wtf, wss://relay.nostr.io, wss://relay.nostr.band"
        # NOSTR_NIP05="" if you want your user name
        

        EDIT : Hmmm, maybe spoke too soon.
        Above settings allow me to add Nostr as a channel.
        But unable to post An error occurred while posting on nostr so investigating ...

        robiR 1 Reply Last reply
        1
        • timconsidineT timconsidine

          Done it ! 🍾
          Experimented with different settings, aided by Ollama
          And maybe also fixed by updating the Postiz app to latest Cloudron release which was just available.
          The settings I am using in env (edit in File Manager) are :

          NOSTR_PRIVATE_KEY="your nsec key here"
          NOSTR_RELAYS="wss://relay.damus.io, wss://relay.nostr.wtf, wss://relay.nostr.io, wss://relay.nostr.band"
          # NOSTR_NIP05="" if you want your user name
          

          EDIT : Hmmm, maybe spoke too soon.
          Above settings allow me to add Nostr as a channel.
          But unable to post An error occurred while posting on nostr so investigating ...

          robiR Offline
          robiR Offline
          robi
          wrote last edited by
          #4

          @timconsidine maybe just try one relay or shuffle the relay list so a different one is first.

          Conscious tech

          1 Reply Last reply
          1
          • timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote last edited by timconsidine
            #5

            Update : tried different settings in /app/data/env

            I'm thinking that the Postiz cloudron package does not include node packages nostr‑tools and maybe ws.
            Installing these into the running container allows me to run a simple script to post from terminal to Nostr.

            I don't see these packages in https://git.cloudron.io/packages/postiz-app.
            Could they be added ?

            1 Reply Last reply
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search