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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Postiz
  3. Nostr settings for Postiz ?

Nostr settings for Postiz ?

Scheduled Pinned Locked Moved Postiz
6 Posts 2 Posters 556 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 on 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 ?

    Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

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

      /cc @nostrdev

      Conscious tech

      1 Reply Last reply
      1
      • timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote on 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 ...

        Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

        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 on 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 on 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 ?

            EDIT : the packages mentioned are in the source repo and in the deployed app's node-modules, so not sure why it is failing.
            Investigating ....

            Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

            1 Reply Last reply
            2
            • timconsidineT Offline
              timconsidineT Offline
              timconsidine
              App Dev
              wrote on last edited by timconsidine
              #6

              Submitted upstream bug report #1148 on Postiz GitHub

              Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

              1 Reply Last reply
              1

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              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