Commit Graph

78 Commits

Author SHA1 Message Date
Roger 7e64d50891 docs(readme): reflect Safari, Windows ABE support (#584)
* docs(readme): reflect Safari, Windows ABE, and DuckDuckGo support
* docs(readme): name the ABE build output as hack-browser-data.exe
* docs(readme): address review feedback on ABE browsers and FDA wording
2026-04-22 02:47:56 +08:00
hackbrowserdata-bot[bot] 26817b44d5 chore: update contributors list [skip ci] 2026-04-10 16:08:12 +00:00
Roger d8032ac824 docs: rewrite readme, rfcs, and contributing (#555)
* docs: rewrite README, RFCs, and CONTRIBUTING
* docs: fix Linux storage labels in RFC-006 (Opera/Vivaldi swapped)
2026-04-06 00:16:47 +08:00
hackbrowserdata-bot[bot] 2ee7d0ac79 chore: update contributors list [skip ci] 2026-04-05 13:43:24 +00:00
hackbrowserdata-bot[bot] 08c0fb4069 chore: update contributors list [skip ci] 2026-04-05 13:19:01 +00:00
Roger 6902243895 chore: update CI/CD workflows, Homebrew and new contributors (#552) 2026-04-05 21:18:49 +08:00
Roger b680d43caa feat: add types.Category, data models, and browserdata.Data (#512)
* feat: add new types.Category, data models, and browserdata.Data

Phase 1 of architecture refactoring (RFC-001/RFC-002):

- types/category.go: Category enum (9 values) replacing DataType (22 values)
  with String(), IsSensitive(), AllCategories, NonSensitiveCategories()
- types/models.go: browser-agnostic data models (LoginEntry, CookieEntry,
  BookmarkEntry, HistoryEntry, DownloadEntry, CreditCardEntry, StorageEntry,
  ExtensionEntry) — no encrypted fields, no browser prefixes
- types/category_test.go: tests for Category methods
- browserdata/browser_data.go: new Data struct with typed slices,
  coexists with old BrowserData during migration

* docs: replace Coveralls badge with Codecov in README

* fix: apply review suggestions (is_http_only tag, json tags on Data)
2026-04-04 01:41:00 +08:00
slimwang 54f55a03ed feat: Support decryption of Firefox 144+ (AES-256-CBC) (#498)
* feat: Support decryption of Firefox 144+ (AES-256-CBC)

* docs: Add Firefox 144+ support to README
2026-02-14 01:18:53 +08:00
ᴍᴏᴏɴD4ʀᴋ ad020cf135 chore: downgrade golang version to 1.20, support Windows 7. (#435)
* chore: downgrade golang version to 1.20, support windows 7

* chore: Update dependencies for Go project.

- Update dependencies in go.sum
- Improvements and optimizations in various files
- Bug fixes and error handling enhancements

* chore: Update modernc.org/sqlite library versions in go.mod and go.sum files

- Update version of `modernc.org/sqlite` to `v1.31.1` in `go.mod` and `go.sum` files
- Update module hash in `go.sum` file for `modernc.org/sqlite`
- Ensure consistency between `go.mod` and `go.sum` files in relation to `modernc.org/sqlite` version

* chore: replace log/slog with standard logger (#436)

* chore: replace log/slog with standard logger

* chore: Update Go dependencies and versions

- Update Go version from `1.22.5` to `1.20` and other dependencies
- Update critical dependencies to latest versions
- Ensure compatibility with new versions of dependencies

* chore: Optimize dependency management in workflows

- Update build and lint workflows to use `go mod tidy` for getting dependencies
- Change modules download mode to `'mod'` in linters configuration
- Add step to get dependencies in lint workflow

* refactor: Update dependencies and refactor Chromium key deletion logic

- Update `modernc.org/sqlite` to `v1.31.1` in `go.mod` and `go.sum`
- Increase version number to `0.5.0` in `cmd/hack-browser-data/main.go`
- Refactor and update logic for filtering and copying items in `browser/chromium/chromium.go`

* Improve logging functionality and data type conversion

- Add `String()` method to `DataType` enum in types.go
- Update log level to Debug in logger_test.go
- Set log level to Debug in `TestLoggerDebug` and `TestLoggerDebugf` functions
2024-10-22 13:01:13 +08:00
moonD4rk 6286739744 docs: Remove Chinese README file 2024-07-19 20:30:07 +08:00
ᴍᴏᴏɴD4ʀᴋ c9beee2662 docs: Update the document version to 0.4.6 (#363)
* docs: Update README with version `0.4.6` and improvements
2024-07-16 12:01:21 +08:00
ᴍᴏᴏɴD4ʀᴋ baa0e09ad2 dev: Remove CGO go-sqlite3 with pure go driver (#292)
* chore: Resize logo and update browser support in READMEs (#284)

* chore: Resize logo and update browser support in READMEs

* docs: Update Coverage Status badge URL

* chore: add typos check linter in github actions (#285)

* refactor: Disable JSON handling in logger/logger.go.

* chore: Standardize spelling and add typos check workflows.

* refactor: Update SQLite driver import for browsing data package.

* refactor: Refactor browsing data package to use SQLite driver instead of SQLite3.

* docs: Add contribution guidelines to README file (#289)

* chore: Refactor file and directory names for improved organization and consistency
2024-01-19 15:45:24 +08:00
ᴍᴏᴏɴD4ʀᴋ 559e8ca1a3 chore: Resize logo and update browser support in READMEs (#284)
* chore: Resize logo and update browser support in READMEs
* docs: Update Coverage Status badge URL
2024-01-17 13:52:59 +08:00
ᴍᴏᴏɴD4ʀᴋ e48f35cfd3 feat: refactor logger to standard library (#280)
* refactor: Refactor logging to use structured slog package.

- Remove `gookit` dependencies from `go.sum`
- Improve error logging in multiple packages by replacing `log` with `log/slog`
- Update dependencies in `go.mod`
- Add new `logger` package with test cases
- Refactor logging statements in multiple packages to use `slog` instead of `log`
- Change logging format and level in multiple packages for better structured logging

* refactor: Refactor logger package and add handler interface

- Refactor logger package
- Rename `defaultHandler` to `DefaultLogger`
- Move `ReplaceAttr` function to `Logger` struct
- Implement `LogHandler` struct with `slog.Handler` interface
- Add new `Logger` methods for configuration
- Add `SetMaxLevel`, `SetJSONHandler`, `SetTextHandler`, `SetOutput`, `SetVerbose`, `SetReplaceAttrFunc`
- Add verbose flag to `cmd/hack-browser-data/main.go` to increase logging

* refactor: Refactor logger package to use simplified handler initialization.

- Refactor logger package to use Default instead of DefaultLogger
- Update `NewHandler` method to correctly reference `Default` logger and simplify handler initialization
- Update tests for logger to reflect changes in Default usage
- Rename `DefaultLogger` to `Default` and update comments to better reflect its purpose
- Update function calls in hack-browser-data main.go to reflect logger package updates

* refactor: Refactor logging in Chromium implementation

Refactor logging and simplify decryption in chromium files
- Replace logger package import with shared slog package
- Change logging messages to use slog instead of logger
- Simplify decryption process by removing first 5 characters of encrypted key
- Refactor error logging in linux file to use shared slog package
- Replace string concatenation with formatted string in linux error message
2024-01-16 14:06:13 +08:00
ᴍᴏᴏɴD4ʀᴋ 23037e16fd Chore: Add CONTRIBUTING.md guidelines and standardized templates (#279)
* chore: Improve GitHub workflows, issue template, and gitignore entries

- Add support for manual triggering of build and lint workflows.
- Improve bug report template by clarifying prompts and adding checklist and tips for better explanation of issues.
- Ignore `.md` files in `.github` and `.github/ISSUE_TEMPLATE` folders.
- Add badges for test running and coverage status in README.md.

* chore: Add standardized templates to repository

- Add pull request and feature request templates to the `.github` folder

* docs: Add CONTRIBUTING.md guidelines and update .gitignore.

- Update .gitignore to remove exclusions for browsing history files
- Add an exclusion for CONTRIBUTING.md in the Community section in .gitignore
- Create CONTRIBUTING.md with guidelines for contributors.
2024-01-13 18:08:35 +08:00
moonD4rk 5a34d1c176 chore: Downgrade version number and remove unused flag
Refactor version number changes and remove unused flag in CLI

- Downgrade version number from `0.4.7` to `0.4.5` in main.go and README files
- Remove `HelpCommand` flag from `cli.App`
- Update `Github Link` in usage text of hack-browser-data CLI
2024-01-09 18:10:14 +08:00
moonD4rk 23daf093b8 chore: Update version number to 0.4.7 in README and main.go files
- Update version number to `0.4.7` in `README` and `README_ZH`
- Update version number to `0.4.7` in `cmd/hack-browser-data/main.go`
2024-01-09 18:10:14 +08:00
stevenlele 038e97e2dc chore: fix typos (#232) 2024-01-09 18:10:14 +08:00
moonD4rk 93c0d42b46 chore: update logo filetype convert svg to png 2023-07-06 11:47:03 +08:00
moonD4rk 5406ee768e docs: Improve arc browser support and compilation instructions in README. 2023-06-06 19:00:27 +08:00
moonD4rk c9acb11536 docs: add star hisory to readme 2023-05-08 19:22:55 +08:00
moonD4rk 4b2c15088b docs: update readme 2023-05-08 19:22:55 +08:00
yuxiaojun bec3e3a1b0 fix: the bug that the command line Usage prompt is incomplete
The full prompt is "password|bookmark|cookie|history|credit card|download|localStorage|extension"

Signed-off-by: yuxiaojun <yuxiaojun@uniontech.com>
2023-01-05 15:06:48 +08:00
ᴍᴏᴏɴD4ʀᴋ cf234d40e9 docs: update ci status badge 2022-08-14 23:38:26 +08:00
ᴍᴏᴏɴD4ʀᴋ 6de08b6751 docs: update readme to v0.4.3 2022-06-05 15:29:05 +08:00
ᴍᴏᴏɴD4ʀᴋ 0e73875e99 docs: update readme to v0.4.2 2022-04-30 00:50:49 +08:00
ᴍᴏᴏɴD4ʀᴋ abee0666c3 docs: rename logo name 2022-04-25 18:29:19 +08:00
ᴍᴏᴏɴD4ʀᴋ 6bd193e8f6 docs: fix logo layout 2022-04-25 18:27:38 +08:00
ᴍᴏᴏɴD4ʀᴋ 25f48c18a3 docs: add svg logo 2022-04-25 18:24:49 +08:00
ᴍᴏᴏɴD4ʀᴋ 2452b2670a feat: update to v0.4.1, support local storage 2022-04-19 21:35:25 +08:00
ᴍᴏᴏɴD4ʀᴋ f5c3e6da5e style: add more debug log 2022-04-19 19:35:30 +08:00
ᴍᴏᴏɴD4ʀᴋ 6217ca3bed docs: update readme to v0.4.0 2022-04-18 02:07:31 +08:00
ᴍᴏᴏɴD4ʀᴋ 177ccb64f5 docs: update readme to 0.3.7 2021-12-10 11:44:41 +08:00
ᴍᴏᴏɴD4ʀᴋ 978ed9d5d8 docs: update readme to 0.3.7 2021-12-10 11:41:17 +08:00
ᴍᴏᴏɴD4ʀᴋ a2923ee51d docs: update readme, add thanks for jetbrains 2021-10-14 20:17:51 +08:00
ᴍᴏᴏɴD4ʀᴋ 1bb8ec5d88 docs: update readme to 0.3.6 2021-07-04 17:34:26 +08:00
moond4rk 74ed03caa2 docs: update version flag to 0.3.5 2021-02-11 00:36:50 +08:00
moond4rk e7c2a77695 docs: update version flag to 0.3.4 2021-02-10 05:55:41 +08:00
moond4rk 6dd53fc09f docs: update readme to 0.3.3 2021-01-29 13:02:02 +08:00
Carlo Mandelli dba3bac533 feat: add Chromium support for Linux 2021-01-26 10:54:49 +01:00
moond4rk fe907881df docs: update verion flag to 0.3.2 2020-12-29 16:25:30 +08:00
moond4rk 9a96817415 docs: update readme to 0.3.1 2020-12-20 15:30:24 +08:00
moond4rk da251908b1 docs: update version 0.3.1 readme 2020-12-20 15:19:41 +08:00
moond4rk 905cce75ff docs: update version flag to 0.3.0 2020-12-09 11:07:29 +08:00
moond4rk eedafbacde docs: update readme to 0.2.9 2020-12-03 12:45:07 +08:00
Cyrus 4bd876bdb0 docs: update README.md 2020-12-02 19:52:18 -05:00
moond4rk 2975561b4c docs: update readme to 0.2.8 2020-11-17 12:42:17 +08:00
moond4rk 756224de5d docs: update to 0.2.7, default output method change to csv 2020-11-10 14:21:51 +08:00
moond4rk b1c350b66c docs: update README to 0.2.6 2020-11-08 01:36:18 +08:00
ᴍᴏᴏɴD4ʀᴋ c6d22f3925 docs: update README to 0.2.5 2020-10-26 12:39:44 +08:00