Giter Club home page Giter Club logo

Comments (15)

fm-sys avatar fm-sys commented on June 18, 2024 1

Maybe look für x-peers that would be more specific/essential?

Done in 7aca1c8.

from snapdrop-android.

ueen avatar ueen commented on June 18, 2024

maybe @fm-sys can just share how the verification works, than you can just fix your insatnce, maybe add that to a FAQ in the readme?

from snapdrop-android.

fm-sys avatar fm-sys commented on June 18, 2024

This is the current instance check:

    Document doc = Jsoup.connect(newValue).get();
    assert doc != null;
    
    if (doc.selectFirst(".icon-button[href=\"#about\"]") != null && doc.selectFirst("#about>x-background") != null) {
        // website seems to be similar to snapdrop... The check could be improved of course.
    } 

from snapdrop-android.

ueen avatar ueen commented on June 18, 2024

Maybe look for x-peers that would be more specific/essential?

from snapdrop-android.

ueen avatar ueen commented on June 18, 2024

Awesome! Does that work for your instance @Boerny41 ?

from snapdrop-android.

fm-sys avatar fm-sys commented on June 18, 2024

@Boerny41 you can test this apk if you like:

snapdrop_for_testing.zip

from snapdrop-android.

Boerny41 avatar Boerny41 commented on June 18, 2024

I've just tried the test apk but it still won't allow me to enter my own URL. To be honest, I didn't really understand what you and ueen were talking about before, so is there anything else I should have done besides installing the apk?

from snapdrop-android.

Boerny41 avatar Boerny41 commented on June 18, 2024

Sorry, clicked the wrong button, didn't mean to close.

from snapdrop-android.

fm-sys avatar fm-sys commented on June 18, 2024

This app requires some elements inside the html. If they do not exist, the app won't let you choose the URL. Have you entered the URL with http/https?

from snapdrop-android.

Boerny41 avatar Boerny41 commented on June 18, 2024

Yes, I entered "https://MyURL.de". Next I get a message saying something similar to "This doesn't seem to be a snapdrop instance".

from snapdrop-android.

ueen avatar ueen commented on June 18, 2024

Could you share your url maybe? So we can have a look :)

from snapdrop-android.

fm-sys avatar fm-sys commented on June 18, 2024

If you don't want to make your URL public, you could also send a mail to snapdrop-android[at]googlegroups.com

from snapdrop-android.

Boerny41 avatar Boerny41 commented on June 18, 2024

I was just adding a new nginx proxy entry to share here when I noticed that my snapdrop instance was using authelia. After creating a new proxy entry without authelia it works fine with the application. 👍

Would it be possible to somehow use instances protected by authelia in the app? I have no idea how hard it is to implement something like this, so I don't know if I'm asking for far too much, but it would be pretty cool, allowing you to share with devices that are not on the same network.

from snapdrop-android.

fm-sys avatar fm-sys commented on June 18, 2024

Would it be possible to somehow use instances protected by authelia in the app?

Probably this would be manageable. However there are dozens of snapdrop instances, and if everyone has some extra wishes we'll get a hard time maintaining this app.

But feel free to fork this repo :)

This app is basically just a webview, so maybe it's enough to change that line to baseURL = "your_url"

baseURL = prefs.getString(getString(R.string.pref_baseurl), getString(R.string.baseURL));

from snapdrop-android.

ueen avatar ueen commented on June 18, 2024

it would be pretty cool, allowing you to share with devices that are not on the same network.

https://pairdrop.net/ is going that, maybe you could just run an instance of that/ (fork of snapdrop)
https://github.com/schlagmichdoch/pairdrop

from snapdrop-android.

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.