webkit

eDgar's Avatar

eDgar

31 Dec, 2019 01:48 PM

hello, as you may know, webengine is not free software. i like anki, but there is no package for my GNU/Linux distro (Parabola). I think that the closest is v2.0. i would like to know if you
1) would be willing to switch back to webkit or
2) could point me out where and how hard that would be (i.e. list of files or functions which would need modifications)

Thanks

  1. Support Staff 1 Posted by Damien Elmes on 02 Jan, 2020 02:43 AM

    Damien Elmes's Avatar

    Wikipedia disagrees with you: https://en.wikipedia.org/wiki/Chromium_(web_browser)

    The libraries Anki 2.0 was built on are no longer maintained, so I'm afraid if you wish to keep using them you are on your own.

  2. 2 Posted by Theova on 12 Feb, 2020 01:25 PM

    Theova's Avatar

    Yes, there are some ongoing discussions, if anyone is interested see here.

    Anyways, I am concerning to patch anki to build it without qt-webengine. My question: What is the funcionality webengine serves in anki? Is it just to eg. log in to an online account or is used as basic platform?

    Thanks a lot!

  3. Support Staff 3 Posted by Damien Elmes on 12 Feb, 2020 09:28 PM

    Damien Elmes's Avatar

    It's a core part of Anki, and is a lot of work to swap out.

  4. 4 Posted by lovac42 on 12 Feb, 2020 10:02 PM

    lovac42's Avatar

    WebEngine is just the front end part, you could replace it with TK or other toolkits.

    Here are some alternative Anki frontends projects:

    Web Browser + Anki2.1 backend - https://github.com/phu54321/kian

    Webkit + Anki2.1 backend - https://github.com/lovac42/CCBC

    Keep in mind these are personal pet projects, so no sync or support is given, but you can always setup your own sync server.

    In the end, Anki desktop is just a personal flashcard app using a modified SM2 algorithm and could be recreated with not much effort. The difficult parts are sync and mobile compatibility.

  5. Support Staff 5 Posted by Damien Elmes on 12 Feb, 2020 10:23 PM

    Damien Elmes's Avatar

    An alternative interface is not the same thing - my point is that you can't simply swap out the web component from Anki's codebase while keeping everything else the same.

  6. 6 Posted by eDgar on 14 May, 2020 03:08 AM

    eDgar's Avatar

    Hi, I want to share this:

    https://www.notabug.org/broncodev/ccbc-pkgbuild

    where I have used https://github.com/rferrazz/pyqt4topyqt5.git on
    lovac42's https://github.com/lovac42/CCBC . Last time I compiled, I used
    lovac42's CCBC commit 43620ce and pyqt4topyqt5 commit ca307cd . I am
    still unable to record my voice, but most functionalities work.

    lovac42, if you get this, please look at the PKGBUILD
    [https://www.notabug.org/broncodev/ccbc-pkgbuild/src/master/PKGBUILD] .
    It should be self-explanatory. If it is not, let me konw. I use
    pyqt4topyqt5 to do the heavy lifting to migrate to the new syntax and
    then add some sed commands with whatever I have found which needs to be
    fixed. I am attaching a diff to commit 43620ce from your project so that
    you see an example of the results from my changes. That commit is the
    version that I last compiled (and can run right now).

    Riccardo Ferrazzo, if you get this, I thought that my extra rules in the
    PKGBGUILD could be useful to you.

    Thank you very much for Anki, CCBC and pyqt4topyqt5.

    -------------------------------------------------
    This free account was provided by VFEmail.net - report spam to [email blocked]

    ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
    $24.95 ONETIME Lifetime accounts with Privacy Features!
    15GB disk! No bandwidth quotas!
    Commercial and Bulk Mail Options!

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac