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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Rename Surfer browser tab name and change favicon?

Scheduled Pinned Locked Moved Solved Surfer
21 Posts 5 Posters 548 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.
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    wrote on last edited by jdaviescoates
    #1

    I'd like a logo and name of choice to be displayed in browsers when visiting an install of Surfer - is this possible?

    Edit: just to check, I tried changing the label and icon for the app in my Dashboard, but that didn't seem to do anything (other than change the icon and app in my dashboard of course! 😛 )

    I use Cloudron with Gandi & Hetzner

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

    just upload a favicon.ico

    Life of sky tech

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to robi on last edited by
    #3

    @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.

    I use Cloudron with Gandi & Hetzner

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

    Surfer currently has no concept of such customization, but I can see how it makes sense.

    jdaviescoatesJ 1 Reply Last reply
    2
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to nebulon on last edited by jdaviescoates
    #5

    @nebulon yeah, I'd really like the browser title to be 'Tools for Change - The United Diversity Library' or something rather than just 'Surfer' and to be able to use a custom favicon.ico

    Tag and move this to Feature Requests?

    I use Cloudron with Gandi & Hetzner

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

    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 1 Reply Last reply
    3
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to nebulon 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
  • robiR Offline
    robiR Offline
    robi
    replied to jdaviescoates 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.

    Life of sky tech

    jdaviescoatesJ ? 2 Replies Last reply
    3
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to robi 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
  • robiR Offline
    robiR Offline
    robi
    replied to jdaviescoates 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.

    Life of sky tech

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to robi 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
  • robiR Offline
    robiR Offline
    robi
    replied to A Former User 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 😉 )

    Life of sky tech

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to robi 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
  • ? Offline
    ? Offline
    A Former User
    replied to jdaviescoates 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
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to A Former User 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
  • ? Offline
    ? Offline
    A Former User
    replied to jdaviescoates 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
  • robiR Offline
    robiR Offline
    robi
    replied to jdaviescoates 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.

    Life of sky 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.