GithubHelp home page GithubHelp logo

Password protect metube UI about metube HOT 5 CLOSED

suntong avatar suntong commented on June 8, 2024
Password protect metube UI

from metube.

Comments (5)

PikuZheng avatar PikuZheng commented on June 8, 2024 1

I think that's good enough for me as well. Can you elaborate a bit how do you do it please?

set docker env "URL_PREFIX" to something https://github.com/alexta69/metube#configuration-via-environment-variables

If you need to return 404 when opening the root path (instead of jumping to URL_PREFIX), delete lines 162 to 164

@routes.get('/')

from metube.

PikuZheng avatar PikuZheng commented on June 8, 2024

I don't think so. "username" and "password" in YTDL_OPTIONS are used for "authentication purposes" 1 2

I think a better way is to use a reverse proxy such as nginx #150 #217 #226

from metube.

suntong avatar suntong commented on June 8, 2024

Yeah, agree. Thanks for the confirmation and links!

from metube.

suntong avatar suntong commented on June 8, 2024

My metube is on the internet and just takes the secondary path (for ifttt). According to the access logs, no one has guessed the correct path so far. So they will just get a 404.
I think metube is safe as long as address and path are not recorded in public.

Originally posted by @PikuZheng in #150 (comment)

I think that's good enough for me as well.
Can you elaborate a bit how do you do it please?

from metube.

alexta69 avatar alexta69 commented on June 8, 2024

You can use Authelia to implement this, as mentioned in the README.

from metube.

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.