Code Monkey home page Code Monkey logo

jw-library-macos's Introduction

JW Library per macOS

Un tentativo di ricreare JW Library per macOS. Richiede macOS 11.0 o successivi.

Al momento è possibile:

  • leggere ed evidenziare la Bibbia;
  • leggere ed evidenziare alcune pubblicazioni;
  • visualizzare le scritture presenti nelle pubblicazioni;
  • visualizzare l'elenco delle ricerche.

Si posso anche importare ed esportare backup compatibili con JW Library anche se considerando che è una beta non ci conterei più di tanto e farei un backup dei backup.

Altre funzioni arriveranno in futuro, forse...

È uscita l'app ufficiale sull'App Store, usate quella

jw-library-macos's People

Contributors

darioragusa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

andresantana227

jw-library-macos's Issues

Errore nella compilazione

Ho provato ad avviare tramite Xcode ma non parte, ho provato sia in modalità M1 che in modalità Rosetta 2

Idea

https://github.com/Miaosi001/JW-Library-macOS/blob/3f39b4a386ba00f52432607a745d7f0b9dcb9db1/JWLibrary/Utility/JWPubManager.swift#L45-51

Here you can get latest catalog version: https://app.jw-cdn.org/catalogs/publications/v4/manifest.json

and with that version go to https://app.jw-cdn.org/catalogs/publications/v4/ + version + /catalog.db.gz

Also, I've seen JWPUB manager.. have you figured out how to read them? (I'm not into swift, and I don't even own an 🍎 device)..

It took me couple of days with no results to get content out of the jwpub. MrCyjaneK/jwapi#1

Encrypted content

@Bedan1,

This post by you was very helpful.

Just wondering if you know how the words are indexed in the SQLite db, especially in the SearchIndexDocument and SearchTextRangeDocument tables.

This is the algorithm:

  1. Determine the publication card hash
    1. Query the SQLite Publication table
    2. Create a list with the MepsLanguageIndex, Symbol, Year fields
    3. If the IssueTagNumber field is not zero, add it to the end of the list
    4. Join the list with underscores to one string, for example for w_S_202206.jwpub, this would be 1_w22_2022_20220600
    5. Calculate the SHA 256 hash of that string
    6. Calculate the bitwise XOR with 11cbb5587e32846d4c26790c633da289f66fe5842a3a585ce1bc3a294af5ada7
      CyberChef example 1
  2. Decrypt the text
    1. Query a row from the Document, BibleChapter or BibleVerse table
    2. Read the encoded Content field
    3. Run AES-128-CBC, use the first 16 bytes of the hash as AES Key, and the last 16 bytes as Initialization Vector (IV)
    4. Run Zlib Inflate

Originally posted by @Bedan1 in #1 (comment)

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.