I Didn't Want to Pay for a Scanner App, So I Built My Own
You always need to send a document as a PDF at the worst possible moment. A rental contract, a signed form, a copy of your ID, an invoice. For years I used a popular scanner app for this. Then one day the free trial ended, and the app asked for a subscription.
So I asked myself a simple question: how many of this app's features do I actually use?
The four things I really needed
The list turned out to be short:
Take a photo of the document.
Crop it and fix the perspective, so a tilted sheet photographed on a desk becomes a straight page.
Remove shadows and yellow room light so the page looks properly scanned: white paper, sharp text.
Put several pages into one PDF and send it over WhatsApp or e-mail.
A fifth one came later: merging PDFs I already had, such as adding a signed page to the end of a contract, or sending three documents as one file.
That's it. OCR, cloud sync, team folders, watermarks: I used none of them. Instead of paying every month for four or five features, I decided to build my own app.
Meet Cep Tarayıcı
Cep Tarayıcı means "pocket scanner" in Turkish. It is a small document-scanning and PDF-merging app for your phone. It is free, has no ads, needs no account, and its source code is public.

Scanning: from photo to "scanned" page
Tap Take photo and your phone's own camera opens. You can also pick several photos from the gallery at once.
When the photo arrives, the app finds the edges of the paper and puts a handle on each corner. If a corner is slightly off, you drag it into place. While you drag, a magnifier appears at the top of the screen, so your finger never hides the spot you're aiming at. That small detail makes it easy to place a corner precisely.
Switch to Result and the tilted photo becomes a straight, flat page. There are four filters:
Magic: whitens the paper and removes shadows and yellow light. Most of the time this is all you need.
Black & white: a photocopy look with a small file size.
Grayscale and Original: for keeping a colour document as it is.

You can rotate, reorder and delete pages. Finally, pick the paper size (A4, Letter or the image's own size), the margin and the quality, then tap Save as PDF. The file goes to Downloads › Cep Tarayıcı on your phone, and a Share button lets you send it straight to WhatsApp, Drive or e-mail.
Merging: many PDFs, one file
In the Merge tab at the bottom you add PDF files. Each file has a Pages box:
1-3 takes the first three pages,
2, 5, 7 takes only those pages,
4- takes page 4 to the end,
5-1 takes the pages in reverse order.
Leave it empty to take the whole file. Arrow buttons change the order of the files, and the total page count of the result updates as you type.

My favourite feature is the bridge between the two tabs: the Add to merge list button on the scan screen. Say you received a contract as a PDF and need to sign the last page and send it back. Photograph the signed page, tap that button, add the contract to the list, and the signed contract is ready.
Privacy: your documents never leave your phone
Most of what we scan is personal: IDs, deeds, bank receipts, medical reports. Many apps upload these photos to their servers for processing.
In Cep Tarayıcı everything happens on the phone. Edge detection, perspective correction, filters and PDF creation all work without the internet. The app sends no requests to any server; even the fonts are bundled inside it. It works exactly the same in airplane mode.
It doesn't even ask for camera permission. The phone's own camera app takes the picture and hands it to Cep Tarayıcı.
Behind the scenes: how the "Magic" filter works
For those who like the technical side, here is a short tour:
Edge detection. The photo is shrunk and converted to grayscale, then split into "light" and "dark" pixels with Otsu's method. Paper is usually lighter than the desk, so the largest light region in the photo is taken as the paper, and its four corners are found.
Perspective correction. From those four corners and a straight rectangle the app computes a mapping called a homography. Each pixel of the output page is then sampled from its matching spot in the photo, and the tilted sheet becomes flat.
The Magic filter. This is the real trick. First the app estimates what the page would look like without any text: it shrinks the image and, at every point, takes the lightest colour in the neighbourhood. Text is dark, so it disappears, leaving a map of just the paper and the light and shadows falling on it. Dividing the page by this map wipes out the shadows and the yellow cast. The paper turns white and the text stays as it is.
PDFs are created with the open-source library jsPDF, and merging uses pdf-lib.
An app smaller than 1 MB
The Android app is about 600 KB, smaller than a single photo on your phone.
That's because the heart of the app is one web page. The Android part is a thin 400-line shell that opens that page, calls the camera and saves files, with no heavy framework. The same page also runs in a browser, so iPhone users and anyone on a computer can use the web version.

How I built it
I built this project together with Claude, an AI assistant. I started by describing what I wanted: "I want the photos I take of documents to look like scanned PDFs." By the end of the first day I had a working web version. Next we turned it into an Android app I could install on my phone. A week later we added the PDF merger I had been using as a second tab.
What surprised me most was how quickly I went from an idea to an app installed on my own phone. Still, I tested every step myself and decided how each part should work. Knowing which features I actually needed mattered as much as writing the code.
Download it, try it, contribute
Android: get the APK from the releases page on GitHub. Since it doesn't come from the Play Store, Android will ask you to allow installs from unknown sources.
iPhone and desktop: open the web version. On iPhone, tap Share → Add to Home Screen to use it like an app.
Source code: github.com/sevdanurgenc/cep-tarayici, under the MIT license, so you are free to use, change and build on it.
The interface is in Turkish for now.

Next on my list: an English interface, OCR so scanned documents become searchable, and opening PDFs shared from other apps straight into the merge list. If you have an idea or find a bug, open an issue on GitHub.
Sometimes the best way to cancel a subscription is to build what you actually need.



Comments