{"id":24331917,"url":"https://github.com/alhadis/mozilla-profile-tools","last_synced_at":"2025-10-26T23:40:37.263Z","repository":{"id":269616503,"uuid":"907942831","full_name":"Alhadis/Mozilla-Profile-Tools","owner":"Alhadis","description":"Wrapper for building CLI utilities with niche functions related to Mozilla profile directory management.","archived":false,"fork":false,"pushed_at":"2025-01-15T00:56:12.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T06:17:17.236Z","etag":null,"topics":["firefox","firefox-profile","firefox-profiles","lz4","mozilla","mozlz4","user-profile","user-profiles"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alhadis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-24T16:58:17.000Z","updated_at":"2025-01-15T00:56:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"382fbafa-4a46-4f9a-9649-e3f10f1a2153","html_url":"https://github.com/Alhadis/Mozilla-Profile-Tools","commit_stats":null,"previous_names":["alhadis/mozilla-profile-tools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alhadis%2FMozilla-Profile-Tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alhadis%2FMozilla-Profile-Tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alhadis%2FMozilla-Profile-Tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alhadis%2FMozilla-Profile-Tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alhadis","download_url":"https://codeload.github.com/Alhadis/Mozilla-Profile-Tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243922418,"owners_count":20369395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firefox","firefox-profile","firefox-profiles","lz4","mozilla","mozlz4","user-profile","user-profiles"],"created_at":"2025-01-18T01:56:58.746Z","updated_at":"2025-10-26T23:40:32.243Z","avatar_url":"https://github.com/Alhadis.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mozilla profile tools\n================================================================================\nThis repository contains build instructions for two *extremely* niche utilities:\n\n* [`mozinstallhash`]: A program to compute the hash used in Mozilla installation\n  profile names. These form part of the unique identifier strings that represent\n  a user profile directory (e.g., in `~/Application Support/Firefox/Profiles/`).\n  [^1]‍[^2]\n\n* [`mozlz4`]: A program to compress and decompress files using Mozilla's variant\n  of the [LZ4 algorithm](https://w.wiki/AeWU). This is used by (recent) releases\n  of Firefox to compress certain JSON files in user profile directories.\n\nBoth of these tools reference poorly-documented facilities in Mozilla's codebase\nthat are of interest to those who programmatically manipulate their user profile\ndirectories outside of Firefox.\n\n\nUsage\n--------------------------------------------------------------------------------\nBuilding these tools requires [Go] (v1.15 or newer) and [Rust] (v1.61 or newer).\nTo build and install them, run:\n\n~~~console\n$ make all\n$ make install                          # Default install locations\n$ make bindir=/path/to/dir install      # Specify location of installed binaries\n~~~\n\nThe `make install` step is optional and requires a BSD-style [`install(1)`][] to\nbe available on the user's system. Users can \"install\" the binaries simply using\n[`mv(1)`][]; no other files are required to run the programs once they're built.\n\n\nMirrors\n--------------------------------------------------------------------------------\nIn the event that an upstream repository \"disappears\", a copy of its source code\n(possibly outdated) can be found in a detached branch of this repository. To use\nthese backups, modifications to the source code may be required (details of such\nchanges are beyond the scope of this document).\n\n\n\u003c!-- Footnotes ----------------------------------------------------------------\u003e\n[^1]: https://github.com/twpayne/chezmoi/issues/1226#issuecomment-867228095 \\\n      A well-researched overview of Mozilla's use of hashing to generate profile\n      ID strings. Courtesy of [**@bradenhilton**], who also authored the Go code\n      used by this repository (with minor modifications).\n\n[^2]: https://bit.ly/41NXOC7 \\\n      Shortlink to `toolkit/mozapps/update/common/commonupdatedir.cpp` (revision\n      \u003csamp\u003e2fcb225\u003c/samp\u003e) in the online code browser for the `mozilla-central`\n      repository.\n\n\u003c!-- Referenced links ---------------------------------------------------------\u003e\n[**@bradenhilton**]: https://github.com/bradenhilton\n[`mozinstallhash`]:  https://github.com/bradenhilton/mozillainstallhash\n[`mozlz4`]:          https://github.com/jusw85/mozlz4\n[`mv(1)`]:           https://man.openbsd.org/mv.1\n[`install(1)`]:      https://man.openbsd.org/install.1\n[Rust]:              https://www.rust-lang.org/tools/install\n[Go]:                https://go.dev/dl/\n\n\u003c!-- Editor settings -----------------------------------------------------------\nLocal Variables:\n  coding: utf-8-unix\n  mode: GFM\n  tab-width: 2\n  fill-column: 80\n  indent-tabs-mode: nil\n  truncate-lines: t\nEnd:\nvim: ff=unix ft=gfm ts=2 tw=80 et nowrap\n-------------------------------------------------------------------------------\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falhadis%2Fmozilla-profile-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falhadis%2Fmozilla-profile-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falhadis%2Fmozilla-profile-tools/lists"}