• Extensions
  • OpenSearch: forum search from browser searchbar

OpenSearch

A Flarum extension for integrating your forum search in browser searchbar, using the OpenSearch standard.

Installation

composer require tuxmain/opensearch

Updating

composer update tuxmain/opensearch

Links

License: GNU AGPL v3


This is my first extension! Feel free to constructively criticize.

    tuxmain congratulations on your first release.

    Bazaar is no longer in use, so perhaps you'd better remote the instructions and the link.

    10 days later
    • [deleted]

    I installed but it is asking for username which one to enter ??

      [deleted] Where exactly is it asking for username?

      The only settings are Title, Description, Search URL.

      There is a problem with escaping in the locales, the Search URL help text should be: "URL used for search, with {searchTerms} token. Example: https://discuss.flarum.org/?q={searchTerms}".

      Edit: I used no-break zero-width space in {searchTerms}, it worked in beta 16. 1.0.0 probably trims the token names...

        • [deleted]

        • Edited

        tuxmain I installed it in linux with composer require it shown me
        framagit.org auth required
        Username :
        I entered something something and Password also something all that but installation failed...

          • [deleted]

          Like this?? composer require tuxmain/opensearch --prefer-dist

            [deleted] The install works for me... Do you have a special git config or an old composer version?

            The repo is public and I followed the doc for distributing on packagist.

              • [deleted]

              • Edited

              tuxmain composer version

              No I have latest COMPOSER 2.0 and all the extensions are working fine and properly except this so I think everything is OK from my side.

              Edit : [deleted] Should I try this?

              tuxmain The install works for me... Do you have a special git config or an old composer version?

              Just to confirm, it also works for me.

                • [deleted]

                luceos Yes now it is also works fine for me. I tried 4th time and it worked.

                • [deleted]

                NOTE : https://discuss.flarum.org/?q={searchTerms} This is the proper example @tuxmain you have given wrong example in extension settings Hope you will fix it soon.