Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vanillaiice/snaparser
Snaparser is a program that parses your snapchat chat history into a human friendly way.
https://github.com/vanillaiice/snaparser
go golang json parsing snapchat
Last synced: about 2 months ago
JSON representation
Snaparser is a program that parses your snapchat chat history into a human friendly way.
- Host: GitHub
- URL: https://github.com/vanillaiice/snaparser
- Owner: vanillaiice
- License: bsd-3-clause
- Created: 2023-10-21T19:50:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-24T07:00:05.000Z (10 months ago)
- Last Synced: 2024-08-01T10:39:08.026Z (6 months ago)
- Topics: go, golang, json, parsing, snapchat
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snaparser
Snaparser parses snapchat chat history json files to human friendly format.
By default, the parsed chat history is printed to stdout.# Installation
```
$ go install github.com/vanillaiice/snaparser/cmd/snaparser@latest
```# Usage
To download your chat history data, follow the guide available on snapchat's
[website](https://help.snapchat.com/hc/en-us/articles/7012305371156-How-do-I-download-my-data-from-Snapchat-).
You can then do the following:```sh
# Generic Usage
$ snaparser [global options] command [command options]# Extract chats only with user 'johndoe' and write chats to file
$ snaparser -u johndoe -f chat_history.json -w# Extract chats only with user 'janedoe', read chat history file from stdin,
# and print to Stdout
$ cat chat_history.json | snaparser -u janedoe# Extract all chats and pipe output to more
$ snaparser -f chat_history.json | more
```# Flags
```sh
NAME:
snaparser - parse snapchat chat history to human friendly formatUSAGE:
snaparser [global options] command [command options]VERSION:
v0.1.4AUTHOR:
vanillaiiceCOMMANDS:
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--file FILE, -f FILE read chats from FILE (use '-' for stdin)
--directory DIRECTORY, -d DIRECTORY, --dir DIRECTORY write parsed chats to DIRECTORY
--user value, -u value only extract chat with user
--write, -w write parsed chats to disk (default: false)
--create, -c create directory if it does not exist (default: false)
--color, -l write colored output (default: false)
--help, -h show help
--version, -v print the version
```# Author
vanillaiice
# License
BSD-3-Clause