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. Surfer
  3. [cli] It would be nice if each uploaded item showed its full URL

[cli] It would be nice if each uploaded item showed its full URL

Scheduled Pinned Locked Moved Solved Surfer
6 Posts 2 Posters 1.5k 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.
  • M Offline
    M Offline
    matheustav
    wrote on last edited by
    #1

    Hi! I'm a Cloudron user for a while, but only today I discovered this awesome app and loved its simplicity.
    I'd like to suggest two simple features:

    1 - After using CLI "surfer put ..." listing could show also the full address of the files I uploaded (so I could just click to open it).

    Example:

    Uploading /foo/bar.html -> https://myapp.com/foo/bar.html
    Uploading /foo/baz.html -> https://myapp.com/foo/baz.html
    


    2 - If I omit the "/" at the end of CLI "surfer put", like: "surfer put myimg.png", I think it should be implicit that I want to upload the file to the root dir (/).

    What do you guys think?
    Thanks!

    1 Reply Last reply
    2
    • nebulonN nebulon marked this topic as a question on
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Great suggestions, both are fixed for next release:

      https://git.cloudron.io/cloudron/surfer/-/commit/27e6f758b075c9891138fc4da9ad6b561fe32977
      https://git.cloudron.io/cloudron/surfer/-/commit/d5043f2be7dd8a3a21c2c57b637781f646d15757

      1 Reply Last reply
      3
      • nebulonN nebulon has marked this topic as solved on
      • M Offline
        M Offline
        matheustav
        wrote on last edited by
        #3

        Nice! Thank you very much, @nebulon.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          matheustav
          wrote on last edited by
          #4

          Hi @nebulon, the updates are almost perfect, but the link is incorrect. My test showed me this:

          Uploading /file.webp -> https://domain.app/api/files/file.webp
          

          The correct would be:

          Uploading /file.webp -> https://domain.app/file.webp
          

          Thx again 🙂

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

            oh great, thanks for the hint, will fix this up for next release.

            1 Reply Last reply
            1
            • M Offline
              M Offline
              matheustav
              wrote on last edited by
              #6

              Perfect, now it is working as expected. You're fast!

              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