Skip to content

jamieomatthews/gosnap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Snap!

A Pure Go library for the Snapchat API

The implementation is partially based on pysnap by martinp and the full disclosure by GibSec.

Features

  • Login/Logout and list out your recent snaps
  • Retreive both picture and video snaps, in your browser
  • Download the pictures or snaps, from the browser
  • Store the user in the session for easy reterival
  • List & Decrypt Story images and videos
  • Set users auth-token manually
  • Send snaps
  • Store users (and snaps?) in a database

Quick Look: GoSnap

Installation

git clone https://github.com/jamieomatthews/gosnap.git
go run app.go

Components

The Gosnap client package has zero external dependencies, and can function as is. I wanted Gosnap to be easier to use than most of the command line utilties out there, so I wrote a small webapp in Martini that lets you browse your snaps, and view them.

Saving Snaps

Currently, the only client is a web based client. It would be trivial to write a client that simply saved the snaps to disk, but for now, if you want to save a snap, you can simply right click on the image or video, and save.

Setting Your Auth Token

The web UI currently supports setting the users auth-token. When you login without an auth-token, gosnap will re-login, which will unfortunetly log you out of any other devices you are using. What you can do is use a proxy, like Charles App or Wireshark to retreive your auth-token from the login request while using the app, and paste it in. This app will then continue to use that auth token and you can use snapchat on both your phone and computer.

Contributing

Contributions are welcome, I would definitely like to finish out the feature set, and improve the user interface where applicable. Check the feature list if you are are looking for what to do next, or if you have an idea of your own. To contribute, just send a PR!

About

A Pure Go library for the Snapchat API

Resources

License

Stars

Watchers

Forks

Packages

No packages published