Code Monkey home page Code Monkey logo

mayhem-dejsonlz4's Introduction

dejsonlz4

Decompress Mozilla Firefox bookmarks backup files

Current Firefox bookmarks backup files are stored as non-standard file format based on lz4 compression. These files have a .jsonlz4 extension. Use dejsonlz4 to decompress them.

lz4.c and lz4.h at this repository are verbatim copies from the Mozilla repository as of 2016-05-12 (as currently used by Firefox) [1].

Usage:

Usage: dejsonlz4 [-h] IN_FILE [OUT_FILE]
   -h  Display this help and exit.
Decompress Mozilla bookmarks backup file IN_FILE to OUT_FILE.
If IN_FILE is '-', decompress from standard input.
If OUT_FILE is '-' or missing, decompress to standard output.
Note: IN_FILE is transferred to memory entirely before decompressing.
Decompression is also done in memory entirely before output.

Build:

  • gcc -Wall -o dejsonlz4 src/dejsonlz4.c src/lz4.c

Windows note:

  • dejsonlz4 on Windows does not support unicode path/file names at this time.

References:

External resources:

  • Mozilla Firefox bug 818587 - Compress bookmark backups.
  • Mozilla Firefox bug 1209390 - Use standard lz4 file format instead of the non-standard jsonlz4/mozlz4.

[1] Mozilla's mercurial repo rev. c3f5e6079284: lz4.h and lz4.c

mayhem-dejsonlz4's People

Contributors

avih avatar rnshah9 avatar waldyrious avatar wolfmanx avatar

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.