PHPackages                             hako/littlesnapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hako/littlesnapper

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

hako/littlesnapper
==================

captures and prints snapchat pictures to a connected BERG Little Printer.

1.4(12y ago)1702MITPHPPHP &gt;=5.3.0

Since Dec 20Pushed 9y ago2 watchersCompare

[ Source](https://github.com/hako/littlesnapper)[ Packagist](https://packagist.org/packages/hako/littlesnapper)[ RSS](/packages/hako-littlesnapper/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

### [![](https://cloud.githubusercontent.com/assets/2040416/3451167/ea0d3e18-018e-11e4-93b0-d748259ed7cb.png)](https://cloud.githubusercontent.com/assets/2040416/3451167/ea0d3e18-018e-11e4-93b0-d748259ed7cb.png)

[](#)

### [![](https://camo.githubusercontent.com/5f4ca13ac23559de10b4d29fb3bd34cafff033c712a6489137060aa49e5fc857/687474703a2f2f68616b6f626169746f2e636f2e756b2f636f6e74656e742f30313338393839323034393832383532353336362e706e67)](https://camo.githubusercontent.com/5f4ca13ac23559de10b4d29fb3bd34cafff033c712a6489137060aa49e5fc857/687474703a2f2f68616b6f626169746f2e636f2e756b2f636f6e74656e742f30313338393839323034393832383532353336362e706e67)

[](#-1)

### [![](https://raw.githubusercontent.com/hako/littlesnapper/master/img/logo.PNG)](https://raw.githubusercontent.com/hako/littlesnapper/master/img/logo.PNG)

[](#-2)

#### a tool to capture and print snapchat pictures to a connected inkless BERG Little Printer.

[](#a-tool-to-capture-and-print-snapchat-pictures-to-a-connected-inkless-berg-little-printer)

BERG Little Printer

littlesnapper captures unread snapchat images, hosts the image for 45 seconds (or any amount you choose) to allow the little printer to parse and print the image and then deletes it.

littlesnapper's old name was *'whippersnapper'*

note: due to the printer being a thermal printer, the images it will print will be black and white.

*yu wer expekting culurs rite?*

*srry.*

***serious note: littlesnapper won't work anymore because BERG Cloud has shut down.***

requirements
------------

[](#requirements)

to run littlesnapper you would need:

- php 5.1+
- php-curl
- php-gd
- mcrypt
- A BERG Little Printer
- A local, hosted server or vps

(I've tried heroku and i'm working on it in the future.)

how to use
----------

[](#how-to-use)

Here is a democast

[](http://quick.as/7zoi4wg)

first of all, install dependencies by typing:

`composer install`

next, replace the following in the `config/config.ini.php`

\###snapchat config

`usr` = your snapchat username. eg: Evan

`pass` = your snapchat password. eg: Ghostface

`delete` = do you want to delete or keep captured snaps? eg: true

- *In ALL cases this should be `true` as you do NOT need to keep images on your server.*

`dither` = image dithering options: `true` = dither, `false` = threshold

\###littleprinter config

`api_key` = your littleprinter API key.

`server_url` = your servers root directory that littlesnapper is hosted on.

- *[ngrok](https://ngrok.com/) is awesome to host local servers securely on the web.*

`time_to_delete` = the time you want to delete the image in seconds. eg 20

- *if you type null or a strange value, littlesnapper defaults to 45 seconds.*

*also, make sure your folder **permissions** are setup properly.*

and now using php in the command-line, type:

```
php littlesnapper.php

```

here's a few of mine.

[![](https://camo.githubusercontent.com/e5118c8b6c133e64981726e33c132a8ea0c6ec2cc547b1bfdab22a4a5b221be5/687474703a2f2f7777772e68616b6f626169746f2e636f2e756b2f636f6e74656e742f3638373437343730336132663266373333313336326537303666373337343639366436373265366637323637326637343735373236343734363533343634333132663439346434373566333033303336333332653661373036372e6a7067)](https://camo.githubusercontent.com/e5118c8b6c133e64981726e33c132a8ea0c6ec2cc547b1bfdab22a4a5b221be5/687474703a2f2f7777772e68616b6f626169746f2e636f2e756b2f636f6e74656e742f3638373437343730336132663266373333313336326537303666373337343639366436373265366637323637326637343735373236343734363533343634333132663439346434373566333033303336333332653661373036372e6a7067)

It is possible to use cron jobs on a server for littlesnapper.

*(I ran into alot of permissions errors when using the cron job. Sometimes littesnapper will print a blank image.)*

*to try, use*

```
crontab -e

```

*and enter the path to where php is (/usr/bin/php) &amp; the directory to where littlesnapper is.*

just don't turn it into a cron job disaster like mine was.

future/todo
-----------

[](#futuretodo)

(in order of precedence)

security

config file.

implement dithering algorithms (for shading)

support for printing multiple snaps.

include more dithering features for configuration.

snapchat stories!

license
-------

[](#license)

MIT

=\[\],

> *munchi says thanks, for using this software, knowing that you will do **good** with it.*

credits
-------

[](#credits)

**littlesnapper** was made by [@hakobyte](https://twitter.com/hakobyte)

**php-snapchat** - a fork of the reverse engineered snapchat library by **[@dstelljes](https://github.com/dstelljes)**

- ***(based on snaphax by [@tlack](https://twitter.com/tlack) &amp; [@adamcaudill](https://twitter.com/adamcaudill))***

**imagecrop** - an image cropping library made by [abraham daniel](https://github.com/abrahamdaniel/imageCrop)

**Team Snapchat**

and

BERG Cloud for creating Little Printer!

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~53 days

Recently: every ~71 days

Total

7

Last Release

4253d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2040416?v=4)[Wesley Hill](/maintainers/hako)[@hako](https://github.com/hako)

---

Top Contributors

[![hako](https://avatars.githubusercontent.com/u/2040416?v=4)](https://github.com/hako "hako (45 commits)")

---

Tags

bergberg-cloudphpprintersnapchatsnapchat-printer

### Embed Badge

![Health badge](/badges/hako-littlesnapper/health.svg)

```
[![Health](https://phpackages.com/badges/hako-littlesnapper/health.svg)](https://phpackages.com/packages/hako-littlesnapper)
```

###  Alternatives

[sabre/amf

SabreAMF is a Flash Remoting server and client for PHP

416.2k1](/packages/sabre-amf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
