Coder Social home page Coder Social logo

Comments (13)

hacdias avatar hacdias commented on May 3, 2024

I see (more or less). But right now we can only support one user. How would this be useful?

P.S.: I don't know if you're using the version on this repository or the version that can be downloaded at caddyserver.com. I recommend you to build it from source to try out the new version which is very less buggy.

from filebrowser.

faddat avatar faddat commented on May 3, 2024

Gotcha. If it helps, I think that leaps has user management of some sorts. I haven't gotten pro-level with its config file yet, however...

from filebrowser.

hacdias avatar hacdias commented on May 3, 2024

I'll leave this issue open because it can be something to try in the future. If you want to do so, go on and try. 👍

Right now I think there is a new auth plugin for caddy in the kiln so I'll wait for that. But you can test it!

from filebrowser.

faddat avatar faddat commented on May 3, 2024

Do you mind letting me know how to try? Sorry, I keep taking baby steps towards golang but am not quite there yet. I learned today from someone else it is very easy to integrate golang applications, but..... knowledge peters out here

from filebrowser.

hacdias avatar hacdias commented on May 3, 2024

The problem is that I don't even know how to try it. I would have to investigate the code of Leaps and then see how could it be integrated with caddy-hugo. Anyway, I recommend you to read this article which may help you :D You'll get it!

from filebrowser.

faddat avatar faddat commented on May 3, 2024

It was a really great article, by the way-- thank you!

from filebrowser.

hacdias avatar hacdias commented on May 3, 2024

You're welcome!

from filebrowser.

faddat avatar faddat commented on May 3, 2024

Okay, so: leaps uses JavaScript text areas to serve collaborative editing sessions. The code for making one is quite simple. Can you point out where caddy-hugo has its text areas?

I will give this a shot myself now. If it works,I will send a pr your way.

from filebrowser.

hacdias avatar hacdias commented on May 3, 2024

The main contente text areas are the ones with name="content" like here and here.

Just for reference, you've to know that those text areas are not visible, they're hidden. What is shown is the Ace Editor (see here).

Go on and try it! :D

from filebrowser.

faddat avatar faddat commented on May 3, 2024

I'm hitting some difficulty in what I think are the last steps.

root@fuzzbox:~/hugo-semantic-homepage-starter# caddydev --source /root/caddy-hugo hugo
Caddy source not found. Fetching... done.
process killed: go get took too long

---- COMMAND: go get -d caddyaddon
---- 
---- package github.com/hacdias/caddy-hugo/assets: no buildable Go source files in /tmp/caddydev744094139/src/github.com/hacdias/caddy-hugo/assets

from filebrowser.

hacdias avatar hacdias commented on May 3, 2024

Execute first cd /root/caddy-hugo & go generate.

from filebrowser.

faddat avatar faddat commented on May 3, 2024

I think I had, but let me try that. I think I fillowed your directions for developers exactly. But maybe I didn't ;).

from filebrowser.

hacdias avatar hacdias commented on May 3, 2024

@faddat I will close this issue for now because I think caddy-hugo doesn't need this heavy app right now. But I'll leave a reference to #39. Maybe in the future :)

from filebrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.