# caj2pdf/caj2pdf

Convert CAJ (China Academic Journals) files to PDF. 转换中国知网 CAJ 格式文献为 PDF。佛系转换，成功与否，皆是玄学。

Repository: https://github.com/caj2pdf/caj2pdf
Canonical: https://ross.abutalabs.com/products/caj2pdf
Language: Python
License: NOASSERTION
License Family: other
Topics: caj, cnki, pdf, python, python3
Last push: 2024-03-20T02:09:01+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3300, "days_push": 897, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3226, forks 642 (observed 2026-08-28T04:07:49.990002+00:00)

## What it is
A Python CLI tool that converts CNKI's proprietary CAJ document files into PDFs while preserving selectable text and outline information. It reverse-engineers the CAJ/HN binary formats and supports only a subset of files, with conversion success varying by sample.

## Use cases
- convert caj files from cnki to pdf
- read cnki theses on linux or mac without cajviewer
- extract outline/bookmarks from a caj file into a pdf
- batch convert academic papers downloaded from cnki
- make caj documents searchable and text-selectable

## When to choose
- you have CAJ-format (not HN-format) files from CNKI and need real PDFs with text and outlines
- you work on non-Windows platforms where CAJViewer is unavailable
- you need to add outlines to a PDF printed via CAJViewer

## When to avoid
- your file is HN format or reports 'Unknown file type'
- you need a guaranteed, user-friendly converter for all CAJ files
- you want a GUI tool rather than a command-line workflow

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: pdf, parser, reverse-engineering, cli
- domain: pdf, files, education, developer-tools
- platform: python, cli, cross-platform, windows
- tags: cnki, caj, file-conversion, academic-papers, document-conversion, linux, macos

## Member repositories
- caj2pdf/caj2pdf (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:49.990002+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:44:16.354148+00:00, confidence not recorded.
  - readme: https://github.com/caj2pdf/caj2pdf (fetched 2026-08-28T04:07:49.990002+00:00, sha 369d9aed3754)
- Data as of 2026-08-30T08:39:29.467469+00:00.
