Skip to content
Matbe34Public

About

A native Linux PDF viewer and signing tool with extensive digital signature customization and hardware token support.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

142 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lankir logo

Lankir

A PDF viewer and signer for Linux, with smart card and DNIe support.

Tests Latest release MIT license

Lankir showing a contract

Features

  • Read: tabs, page thumbnails, outline, find with match case and whole words, text selection, zoom presets, light and dark themes.
  • Fill in and mark up: fill in PDF forms; highlight, add text, draw and place images; undo and redo; save or save as.
  • Organize pages: rotate, reorder by dragging, duplicate, delete and extract pages, and insert pages from other PDFs, with undo and redo until you save.
  • Document tools: split into files, set, change or remove the password, edit the title, author, subject and keywords, save an optimized copy, and print.
  • Sign: visible or invisible signatures with certificates from .p12 and .pfx files, smart cards and USB tokens (PKCS#11, including the Spanish DNIe) and the NSS database. Reusable signature profiles, and optional RFC 3161 timestamps.
  • Check signatures: whether the document changed, whether the signer's certificate is trusted, and whether it was revoked, asking the certificate authority online (can be turned off).
  • Command line: the same binary has lankir pdf, lankir cert, lankir sign and lankir config commands: page operations (rotate, delete, reorder, extract, split, merge), encryption, metadata, rendering, signing and verifying.
  • Keyboard shortcuts, and a command palette (Ctrl K) that lists every command.

Install

Download the AppImage, the .deb or .rpm package, or the standalone binary from the releases page. For example, on Debian or Ubuntu:

sudo apt install ./lankir_*_amd64.deb

See Install for every option, the runtime libraries, and how to make Lankir your default PDF app.

Use

Open Lankir from the applications menu, or from a terminal:

lankir contract.pdf

Open more files with Open, from the recent list, or by dropping them on the window. The user guide covers reading, forms, markup, organizing pages, the document tools, saving, settings and every keyboard shortcut.

Signing

Press Sign (Alt S), pick a certificate and a profile, type the PIN, and for a visible signature drag the box where it belongs. Lankir saves a signed copy next to the original and opens it. Open the side panel's Info view to check the signatures of any PDF. Signing explains certificates, smart cards and the DNIe, profiles, what each signature status means, and what Lankir sends over the network.

The sign panel

Command line

lankir sign verify contract_signed.pdf --json

Command line documents every command and flag.

Development

Go, Wails v3 (GTK 3 and WebKitGTK 4.1), pdf.js and Vite. To build and test:

task dev     # run against the Vite dev server
task test    # Go and frontend tests

Development has the prerequisites, the architecture, the preview harness and the release process. Changes are listed in the changelog.

Support

If Lankir is useful to you, you can support its development:

Buy Me a Coffee

  • Bitcoin (BTC): bc1q7utue52q2m66spl3prz3xxmmdw9varcupfa20f
  • Monero (XMR): 681AX96pcCFNbFs82MeQVR6W3pDCHRTHEGGHBMZiafLL

License

MIT. See LICENSE.

About

A native Linux PDF viewer and signing tool with extensive digital signature customization and hardware token support.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages