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
  • 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. Surfer
  3. Rename Surfer browser tab name and change favicon?

Rename Surfer browser tab name and change favicon?

Scheduled Pinned Locked Moved Solved Surfer
21 Posts 5 Posters 3.1k Views 5 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.
  • nebulonN nebulon

    While surfer is developed by the Cloudron team, it is not really a platform feature, which is what feature requests forum section is for.
    Since feature requests for surfer pile up though, I will tackle them next week, I also have to see how far we can go with element ui and the much wanted rework of the file/folder list.

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #7

    @nebulon said in Rename Surfer browser tab name and change favicon?:

    While surfer is developed by the Cloudron team, it is not really a platform feature, which is what feature requests forum section is for.

    Fair enough, makes sense.

    @nebulon said in Rename Surfer browser tab name and change favicon?:

    Since feature requests for surfer pile up though, I will tackle them next week, I also have to see how far we can go with element ui and the much wanted rework of the file/folder list.

    Excellent news, thanks!

    Fingers and toes crossed you manage to get the folder/ file listing sorted (and as a bonus make title and favicon customisable too!) 😄

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
    • jdaviescoatesJ jdaviescoates

      @robi said in Rename Surfer browser tab name and change favicon?:

      just upload a favicon.ico

      Just did that, didn't seem to make any difference.

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #8

      @jdaviescoates

      When I visit a site hosted by Surfer that I created, my browser requests a favicon and takes any HTML title tag I set in the index.html.

      That is all that is needed.
      See my Surfer site: https://venture.toldyouso.com/

      If you mean something else, please clarify.

      Conscious tech

      jdaviescoatesJ ? 2 Replies Last reply
      3
      • robiR robi

        @jdaviescoates

        When I visit a site hosted by Surfer that I created, my browser requests a favicon and takes any HTML title tag I set in the index.html.

        That is all that is needed.
        See my Surfer site: https://venture.toldyouso.com/

        If you mean something else, please clarify.

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #9

        @robi that site doesn't seem to have any favicon:

        no_favicon.png

        But I see what you mean about the name.

        But in my case, I don't have an index.html file because I don't really want nor need one (having one would just complicate things).

        The whole point of the site is just share the files that I've uploaded there:

        https://library2.uniteddiversity.coop/

        Saying that, he old version http://library.uniteddiversity.coop/ has no favicon and the title is just index of / so having the surfer favicon and Surfer as the title isn't a lot different!

        A bigger problem is the Surfer's lack of symlinks

        I use Cloudron with Gandi & Hetzner

        robiR 1 Reply Last reply
        0
        • jdaviescoatesJ jdaviescoates

          @robi that site doesn't seem to have any favicon:

          no_favicon.png

          But I see what you mean about the name.

          But in my case, I don't have an index.html file because I don't really want nor need one (having one would just complicate things).

          The whole point of the site is just share the files that I've uploaded there:

          https://library2.uniteddiversity.coop/

          Saying that, he old version http://library.uniteddiversity.coop/ has no favicon and the title is just index of / so having the surfer favicon and Surfer as the title isn't a lot different!

          A bigger problem is the Surfer's lack of symlinks

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #10

          @jdaviescoates said in Rename Surfer browser tab name and change favicon?:

          @robi that site doesn't seem to have any favicon:

          it does now.

          But I see what you mean about the name.

          But in my case, I don't have an index.html file because I don't really want nor need one (having one would just complicate things).

          I see, you just want a directory listing. Yeah can't have it both ways, but you could change the Surfer code and replace its favicon and <title> as it builds the page.

          A bigger problem is the Surfer's lack of symlinks

          it's not symlinks it doesn't support, it's directories.

          Conscious tech

          1 Reply Last reply
          0
          • robiR robi

            @jdaviescoates

            When I visit a site hosted by Surfer that I created, my browser requests a favicon and takes any HTML title tag I set in the index.html.

            That is all that is needed.
            See my Surfer site: https://venture.toldyouso.com/

            If you mean something else, please clarify.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #11

            @robi your favicon seems to be that from cloudron. But it generally works. You can see on https://rottig.de
            btw. We are using the same template 🙂

            robiR 1 Reply Last reply
            0
            • ? A Former User

              @robi your favicon seems to be that from cloudron. But it generally works. You can see on https://rottig.de
              btw. We are using the same template 🙂

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #12

              @captain-kirk yes I set it to that one as I could type it in quickly..

              H5UP FTW (mine looks better 😉 )

              Conscious tech

              jdaviescoatesJ 1 Reply Last reply
              0
              • robiR robi

                @captain-kirk yes I set it to that one as I could type it in quickly..

                H5UP FTW (mine looks better 😉 )

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #13

                @robi I still don't see any favicon on your site. Maybe you removed it as you were only adding it to demonstrate it work?

                @Captain-Kirk I see yours. So how did you add it?

                Perhaps mine at https://library2.uniteddiversity.coop/favicon.ico doesn't show up because I don't have a index.html file uploaded?

                I use Cloudron with Gandi & Hetzner

                ? robiR 2 Replies Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  @robi I still don't see any favicon on your site. Maybe you removed it as you were only adding it to demonstrate it work?

                  @Captain-Kirk I see yours. So how did you add it?

                  Perhaps mine at https://library2.uniteddiversity.coop/favicon.ico doesn't show up because I don't have a index.html file uploaded?

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #14

                  @jdaviescoates it's simple:
                  <link rel="icon" type="image/png" href="https://rottig.de/www/images/favicon.png">

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • ? A Former User

                    @jdaviescoates it's simple:
                    <link rel="icon" type="image/png" href="https://rottig.de/www/images/favicon.png">

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #15

                    @captain-kirk I assume you've got that in your index.html?

                    At present I've not got an index.html to put it in! But thanks for the info! 🙂

                    I use Cloudron with Gandi & Hetzner

                    ? 1 Reply Last reply
                    0
                    • jdaviescoatesJ jdaviescoates

                      @captain-kirk I assume you've got that in your index.html?

                      At present I've not got an index.html to put it in! But thanks for the info! 🙂

                      ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #16

                      @jdaviescoates Sorry, you are right. Every folder has its own index.html

                      1 Reply Last reply
                      0
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #17

                        So being able to specify a custom name and favicon only makes sense to be applied for public folder listing/admin ui.

                        As soon as there is some index.html there is no reason trying to override whatever tile and favicon is mentioned there.

                        1 Reply Last reply
                        1
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by A Former User
                          #18

                          Yeah... idk I've never had this issue but I've always had an html file specify a favicon and title. Example: https://atrilahiji.dev/

                          IMO it is fine as is, but I guess I don't really get the use case. For me if surfer is a simple static file server it should be up to the user to provide html that give it that info rather than add bloat that lets you configure those things in place of having html that does that.

                          1 Reply Last reply
                          0
                          • jdaviescoatesJ jdaviescoates

                            @robi I still don't see any favicon on your site. Maybe you removed it as you were only adding it to demonstrate it work?

                            @Captain-Kirk I see yours. So how did you add it?

                            Perhaps mine at https://library2.uniteddiversity.coop/favicon.ico doesn't show up because I don't have a index.html file uploaded?

                            robiR Offline
                            robiR Offline
                            robi
                            wrote on last edited by
                            #19

                            @jdaviescoates it's there. others see it, as do I.

                            Browsers displaying an HTML page will request a favicon.ico by default. Hence I have no HTML to point to a favicon.

                            Browsers displaying a directory listing involves no HTML, and hence uses a different subsystem to generate the listing page.

                            That's what you're hunting down to change, a custom Surfer configuration branded for you.

                            Conscious tech

                            1 Reply Last reply
                            0
                            • nebulonN Offline
                              nebulonN Offline
                              nebulon
                              Staff
                              wrote on last edited by
                              #20

                              So regarding the use-cases, I see two distinct use-case. One is of course normally serving up static files (like a webpage) including html assets. The second use-case is to use the built-in public file listing. This simply avoids users having to write some script pumping out a nice html page to traverse the tree. For the second one, I can understand why someone would like to have some kind of "branding" here.

                              1 Reply Last reply
                              3
                              • nebulonN Offline
                                nebulonN Offline
                                nebulon
                                Staff
                                wrote on last edited by
                                #21

                                I've released the new surfer version which has this fixed. The update is currently only available when checked for manually.

                                1 Reply Last reply
                                2
                                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