Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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
We Distribute
  1. Home
  2. Technical Discussion
  3. Browser.Pub and Anubis

Browser.Pub and Anubis

Scheduled Pinned Locked Moved Technical Discussion
browserpubanubis
15 Posts 4 Posters 6 Views
  • 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.
  • js@podcastindex.socialJ js@podcastindex.social

    @julian hmm, I believe it tries to make each AP call from the browser first, then falls back to a cloudflare worker if that fails.

    I just checked the cf worker and found this gem in it, so that might work for you too

    Link Preview Image
    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.space
    wrote on last edited by
    #3

    @js@podcastindex.social thanks! 🤘

    1 Reply Last reply
    0
    • julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.space
      wrote on last edited by
      #4

      @js@podcastindex.social Any chance you can update that worker to add in something related to BrowserPub (like the main browserpub url)? Deno/1.45.2 is vague (and also would change, over time 😄 )

      It's the comment part of the User-Agent header

      1 Reply Last reply
      0
      • js@podcastindex.socialJ This user is from outside of this forum
        js@podcastindex.socialJ This user is from outside of this forum
        js@podcastindex.social
        wrote on last edited by
        #5

        @julian not sure why you'd want to put your public AP stuff behind something like Anubis - a thing in general that I think is pretty anti-web to begin with

        you're losing out on all sorts of cool integrations that you don't even know about

        julian@activitypub.spaceJ 1 Reply Last reply
        0
        • js@podcastindex.socialJ js@podcastindex.social

          @julian hmm, I believe it tries to make each AP call from the browser first, then falls back to a cloudflare worker if that fails.

          I just checked the cf worker and found this gem in it, so that might work for you too

          Link Preview Image
          evan@cosocial.caE This user is from outside of this forum
          evan@cosocial.caE This user is from outside of this forum
          evan@cosocial.ca
          wrote on last edited by
          #6

          @js @julian PLEASE tell me that Threads is not looking for that exact User-Agent string 🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼

          js@podcastindex.socialJ 1 Reply Last reply
          0
          • js@podcastindex.socialJ js@podcastindex.social

            @julian not sure why you'd want to put your public AP stuff behind something like Anubis - a thing in general that I think is pretty anti-web to begin with

            you're losing out on all sorts of cool integrations that you don't even know about

            julian@activitypub.spaceJ This user is from outside of this forum
            julian@activitypub.spaceJ This user is from outside of this forum
            julian@activitypub.space
            wrote on last edited by
            #7

            @js@podcastindex.social AI crawlers are hammering the site fairy regularly, and my options are to allocate additional resources or put something in front, otherwise my site is inaccessible for hours/days at a time.

            Cool integrations are great until they hamper usability of the site 🫤 if the crawlers behaved a bit more like search engine crawlers I'd have no problem.

            1 Reply Last reply
            0
            • sl007@digitalcourage.socialS This user is from outside of this forum
              sl007@digitalcourage.socialS This user is from outside of this forum
              sl007@digitalcourage.social
              wrote on last edited by
              #8

              @julian @js

              just btw;
              we live in the Deno/2.6.5 times although somehow I miss the 80s.

              wink smiley.

              js@podcastindex.socialJ 1 Reply Last reply
              0
              • julian@activitypub.spaceJ This user is from outside of this forum
                julian@activitypub.spaceJ This user is from outside of this forum
                julian@activitypub.space
                wrote on last edited by
                #9

                @js@podcastindex.social Although... now that you mention it, Anubis does have the ability to filter by header values, so I will update the bot policy file to allow the standard ActivityPub accept headers.

                1 Reply Last reply
                0
                • sl007@digitalcourage.socialS sl007@digitalcourage.social

                  @julian @js

                  just btw;
                  we live in the Deno/2.6.5 times although somehow I miss the 80s.

                  wink smiley.

                  js@podcastindex.socialJ This user is from outside of this forum
                  js@podcastindex.socialJ This user is from outside of this forum
                  js@podcastindex.social
                  wrote on last edited by
                  #10

                  @sl007 @julian

                  lol classic mastodork comment

                  do better!

                  sl007@digitalcourage.socialS 1 Reply Last reply
                  0
                  • evan@cosocial.caE evan@cosocial.ca

                    @js @julian PLEASE tell me that Threads is not looking for that exact User-Agent string 🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼

                    js@podcastindex.socialJ This user is from outside of this forum
                    js@podcastindex.socialJ This user is from outside of this forum
                    js@podcastindex.social
                    wrote on last edited by
                    #11

                    @evan @julian no it was just one that I found was allowed, after wasting too much time with trial and error

                    iirc they even had different rules for incoming from CF ips vs not, but it was a long time ago!

                    1 Reply Last reply
                    0
                    • julian@activitypub.spaceJ This user is from outside of this forum
                      julian@activitypub.spaceJ This user is from outside of this forum
                      julian@activitypub.space
                      wrote on last edited by
                      #12

                      @js@podcastindex.social done and tested as working. Looking for the AP Accept headers now. Thanks for the suggestion 😄

                      js@podcastindex.socialJ 1 Reply Last reply
                      0
                      • julian@activitypub.spaceJ julian@activitypub.space

                        @js@podcastindex.social done and tested as working. Looking for the AP Accept headers now. Thanks for the suggestion 😄

                        js@podcastindex.socialJ This user is from outside of this forum
                        js@podcastindex.socialJ This user is from outside of this forum
                        js@podcastindex.social
                        wrote on last edited by
                        #13

                        @julian perfect!

                        1 Reply Last reply
                        0
                        • js@podcastindex.socialJ js@podcastindex.social

                          @sl007 @julian

                          lol classic mastodork comment

                          do better!

                          sl007@digitalcourage.socialS This user is from outside of this forum
                          sl007@digitalcourage.socialS This user is from outside of this forum
                          sl007@digitalcourage.social
                          wrote on last edited by
                          #14

                          @js
                          Well, all of our fediverse software is in deno. For example, as user agent for Menchys we use menschys.org just like Julian said already. I would not use an external software name as user agent. Would be cool if you could update thank you.

                          @julian

                          sl007@digitalcourage.socialS 1 Reply Last reply
                          0
                          • sl007@digitalcourage.socialS sl007@digitalcourage.social

                            @js
                            Well, all of our fediverse software is in deno. For example, as user agent for Menchys we use menschys.org just like Julian said already. I would not use an external software name as user agent. Would be cool if you could update thank you.

                            @julian

                            sl007@digitalcourage.socialS This user is from outside of this forum
                            sl007@digitalcourage.socialS This user is from outside of this forum
                            sl007@digitalcourage.social
                            wrote on last edited by
                            #15

                            @js otherwise please stop follow me if you do not want help. @julian

                            1 Reply Last reply
                            0
                            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.
                            Powered by NodeBB Contributors
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups