CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 17:37:31 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"e7723f25b3306036bb2777aa3d245844"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=248gUrI7zJ3Ve%2FbhfCa%2FFPQyBw1fbRWTyYyp5udysfje17PkHDYWlu1IOxG0TJhbFBDHPk40d0u50lq7dbngVLhAFRyKtUdMSG1JoJl5DGXkJe6jprh86mkEX68JQ9PiTCRL2uRPoimen836jPM5zxaDWnb4vGb2u2KWb%2FPxrUWvYldqWVcGvamS2wNyUBoE8eZhFNmCBz2eXn90OqjuUmuxRtTmxSaVfYCo%2FEh0aGyL08eXnxTi6RjLib61S3IheXkvSwiEdkPb4wsxEfzS%2Bg%3D%3D--dK15RSV0mvu2YaGW--lglcrM3Ox6pLLmyXyn9I1w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1117132905.1753378651; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 17:37:31 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 17:37:31 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9FC8:346A99:A1EB5:C0630:68826F5B
Releases Β· Tommypop2/code-to-pdf Β· GitHub
13 Jul 14:42
22 Jun 17:31
Loading
20 Apr 10:55
Loading
17 Apr 23:56
Loading
29 Mar 13:31
Loading
27 Mar 18:33
Loading
24 Mar 23:55
Loading
17 Mar 13:34
Loading
16 Mar 23:10
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 0
Releases: Tommypop2/code-to-pdf
Releases Β· Tommypop2/code-to-pdf
0.2.2 - 2025-07-13
Compare
Release Notes
π Bug Fixes
- Correctly start and end text sections for each page
Install code-to-pdf 0.2.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Tommypop2/code-to-pdf/releases/download/code-to-pdf-v0.2.2/code-to-pdf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Tommypop2/code-to-pdf/releases/download/code-to-pdf-v0.2.2/code-to-pdf-installer.ps1 | iex"
Download code-to-pdf 0.2.2
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 17
- sha256:28f38efd68b2c28a6302de9df146ec76faae7e91887d51d6194caf1884f6992b
2025-07-13T14:41:59Z - sha256:f3e141bd8a8cfa733c24ec5b4429e25fac6ccc4f40a0d7284b3cd8d5580c0df2
2025-07-13T14:41:59Z - sha256:901c282adf728aee74f8be8122633a9d5758cd44e8f8d0982c59a37d25ce7017
2025-07-13T14:41:59Z - sha256:3a9081ac7d2394f9118f83a3ecb1067265df4247f4b3bbe68be52935ed6178f9
2025-07-13T14:41:59Z - sha256:c9a05bda162da59cde65c8913260155e0f068aa090832fcbdc29af80043d720e
2025-07-13T14:41:59Z - sha256:9f3b400c98f749101069fcd62078eb4ccc7f831f648016773b63013bb25f5c23
2025-07-13T14:41:59Z - sha256:f61752986058c7254912ff7c81883b9fbef01913c7b856bd2ca48f1cb1ea335b
2025-07-13T14:41:59Z - sha256:138cd301b6dd03d93bc5535e953d754cf7ad00f8a3497e3d7a83e006b9f14f13
2025-07-13T14:41:59Z - sha256:8db3638c3f014b2709493388920994ae1df6a775069c0bd01e8b3ef443e9db92
2025-07-13T14:41:59Z - sha256:71f71eddfb62b75f5210556ab1e47676f4947a2f5dafc639f771fdf50f9f257e
2025-07-13T14:41:59Z -
2025-07-13T14:28:20Z -
2025-07-13T14:28:20Z - Loading
0.2.1 - 2025-06-22
Compare
Release Notes
π Features
- Get running from the gui working
- Running from GUI now writes file
- Allow configuring number of threads that rayon uses
- Add
include_path
option - Add benchmarking scripts
- Allow for disabling logging
π Bug Fixes
- Remove
max_image_size
- Don't log from any dependencies
π Refactor
- Move to cargo workspace
- Migrate logger to
crossbeam
- Remove commented code
- Use
log
facade - Use
info
macro to log status information - Use appropriate logging level for more logs
π Documentation
- Add doc comments to logging implementation
β‘ Performance
- Cache processed text width
π§ͺ Testing
- Logger test now passes
βοΈ Miscellaneous Tasks
- Format
- Clippy + fmt
- Update lockfile
- Fmt + clippy
- Format + clippy
Install code-to-pdf 0.2.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Tommypop2/code-to-pdf/releases/download/code-to-pdf-v0.2.1/code-to-pdf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Tommypop2/code-to-pdf/releases/download/code-to-pdf-v0.2.1/code-to-pdf-installer.ps1 | iex"
Download code-to-pdf 0.2.1
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 17
v0.2.0
Compare
Release Notes
π Features
- Add
dc2pdf
binary, which can decode the output PDF back into the correct file tree - Add newline character to lines split via line-splitting
- (dc2pdf) Correctly interpret newlines due to line-splitting and newlines from the source
- Allow
dc2pdf
to accempt a path to a PDF to decode - Add
out-dir
argument todc2pdf
- (dc2pdf) Show error and continue parsing if a page is malformed
π Bug Fixes
- Prevent empty pages being generated
π Refactor
- Improve code separation (bin/lib)
- Ensure no unnecessary newline characters are added to the PDF
- Use slice instead of passing
&Vec
π Documentation
- Update
c2pdf
command description
π§ͺ Testing
- Add shell script for testing encoding and decoding
- Also replace
\n
characters for line splitting test
βοΈ Miscellaneous Tasks
- (ci): ensure that features are disabled when building PDF artefact
- Update formatting settings
- Update lockfile
- Remove unnecessary comment
- Pass current directory to c2pdf when debugging
Install code-to-pdf 0.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Tommypop2/code-to-pdf/releases/download/v0.2.0/code-to-pdf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Tommypop2/code-to-pdf/releases/download/v0.2.0/code-to-pdf-installer.ps1 | iex"
Download code-to-pdf 0.2.0
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 17
0.1.9 - 2025-04-17
Compare
Release Notes
π Features
- Add back error messages
π Bug Fixes
- Correctly increment
line_width
- Improve text wrapping
π Refactor
- Only use single
use
forfont_kit
imports - Change line that comment is on so it's clearer
- Remove commented code
- Only set text colour if the new colour is different to the previous colour
π Documentation
- Add comments to
add_image
andto_document
methods - Update readme
β‘ Performance
- Walk paths in parallel (with
rayon
) - Add thread local for
HighlighterConfig
- Stop doing unnecessary heap allocation with
vec![]
- Extend
contents
vector instead of usingnew_contents
βοΈ Miscellaneous Tasks
- Fmt
- Fmt + clippy
- Update ci
Install code-to-pdf 0.1.9
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.9/code-to-pdf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.9/code-to-pdf-installer.ps1 | iex"
Download code-to-pdf 0.1.9
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 17
0.1.5 - 2025-03-29
6094f8d
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
Release Notes
π Refactor
- Move
Dimensions
into a separate file - Make
processed_file_count
private
π Documentation
- Add
syntect
mention to syntax highlighting section ofFeatures
- Add comment to
Dimensions
struct - Add more doc comments
βοΈ Miscellaneous Tasks
- Add warn on missing docs
Install code-to-pdf 0.1.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.5/code-to-pdf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.5/code-to-pdf-installer.ps1 | iex"
Download code-to-pdf 0.1.5
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 18
0.1.4 - 2025-03-27
8446490
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
Release Notes
π Features
- Include more supported image formats
- Calculate the maximum number of lines that can be displayed
- Allow setting margin sizes as command-line arguments
π Bug Fixes
- Only push a line break if a new page isn't created
π Refactor
- Add
increment_line_function
to simplify making a new page if necessary - Pass references to
PathBuf
where possible - Remove (now) unused
max_line_chars
- Replace
PathBuf
withPath
- Move page dimension info into
Dimensions
struct - Remove
max_width
fromTextWrapper
initialiser - Implement
Default
forDimensions
- Only store
theme
inHighlighterConfig
- Switch to theme set from
two_face
π Documentation
- Add docs for installing via
cargo binstall
- Show usage for more command line options
- Add mention of supporting ignore files
- Add example for setting margins
βοΈ Miscellaneous Tasks
- Fmt + clippy
- Fmt + clippy
- Don't create updater programs
Install code-to-pdf 0.1.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.4/code-to-pdf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.4/code-to-pdf-installer.ps1 | iex"
Download code-to-pdf 0.1.4
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 18
0.1.3 - 2025-03-24
6f7150a
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
Release Notes
βοΈ Miscellaneous Tasks
- Allow for usage as a library
Install code-to-pdf 0.1.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.3/code-to-pdf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.3/code-to-pdf-installer.ps1 | iex"
Download code-to-pdf 0.1.3
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 23
0.1.1 - 2025-03-17
Compare
Release Notes
π Bug Fixes
- Use
File::create
instead ofFile::open
πΌ Other
- Update crate version
βοΈ Miscellaneous Tasks
- Generate installers with
cargo-dist
- Change
doc
todocs
Install code-to-pdf 0.1.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.1/code-to-pdf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Tommypop2/code-to-pdf/releases/download/v0.1.1/code-to-pdf-installer.ps1 | iex"
Download code-to-pdf 0.1.1
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 23
0.1.0 - 2025-03-16
Compare
Release Notes
π Features
- Walk a directory and print each file to a separate page
- Path to walk is now a command line argument
- Split up lines that are too long
- Support syntax highlighting tsx and jsx!
- Add done log
- Ignore
pnpm-lock
andCargo.lock
files - Change binary name to
c2pdf
- Allow custom output paths to be set
- Add LLDB
launch.json
- Respect
max_line_len_to_highlight
field - Add
--exclude
CLI option - Add
pnpm-lock.yaml
andCargo.lock
to the default ignore list - Make
max_line_chars
configurable programatically - Initial "correct" text wrapping implementation
- Switch from
cosmic-text
tofontdue
for text length calculations
π Bug Fixes
- Prevent panic on
read_line
- Ensure that the last chunked line is pushed
πΌ Other
- :Fill` now works!
- Improve installation and usage docs
- Improve project description
- Add brief features list
π Refactor
- Move logic for processing files into a separate file
- Rewrite for better maintainability and usability
- Remove unused
process_file
function - Rename
process_file.rs
tohelpers.rs
- Make
.pages
private and replace withget_pages()
- Remove unused
html
feature fromprintpdf
- Remove debugging code
- Improve the way pages are handled
- Rename
HighlighterData
toHighlighterConfig
- Simplify
generate_pages
function signature - Remove unused functions
π Documentation
- Add comments to helper functions
- Update
generate_pages
comment to be accurate
β‘ Performance
- Don't highlight lines > 20,000 chars
- Append slice instead of vector in
init_page
βοΈ Miscellaneous Tasks
- Update deps in lockfile
- Remove test_folder and add to ignore
- Add CI
- Update lockfile
- Update lockfile
- Update lockfile
- Use local version of
printpdf
- Add cargo dist
Download code-to-pdf 0.1.0
File | Platform | Checksum |
---|---|---|
code-to-pdf-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
code-to-pdf-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
code-to-pdf-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
code-to-pdf-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
code-to-pdf-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Assets 16
You canβt perform that action at this time.