https://github.com/chicks-net/google-plus-posts-dumper
Google+ Posts dumper
https://github.com/chicks-net/google-plus-posts-dumper
Last synced: 3 months ago
JSON representation
Google+ Posts dumper
- Host: GitHub
- URL: https://github.com/chicks-net/google-plus-posts-dumper
- Owner: chicks-net
- License: gpl-2.0
- Created: 2024-07-16T16:43:11.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-04T20:53:12.000Z (8 months ago)
- Last Synced: 2025-01-25T20:44:00.091Z (4 months ago)
- Language: Rust
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# google-plus-posts-dumper
[](https://www.rust-lang.org/)


## Motivation
* I wanted to do something in rust since it has a reputation for being hard.
* I had a pile of HTML from my google+ to convert to hugo-friendly Markdown.## Status
It processes command line arguments and verifies that the directories are
there and laid out as expected. Then it finds the HTML files in the first
directory.## Disclaimer
This code was written by human hands using `vim` without performance
enhancing drugs or AI coding assistance. If you're into those things,
you be you. But at this point in my life I'd rather see how well I
can do naturally. I feel confidant that I'm learning more this way.## Documentation
```zsh
cargo run -- $GOOGLE_PLUS_DUMP_DIR $MARKDOWN_DEST_DIR
```It takes two arguments:
1. The directory of the Google+ dump aka "Takeout". It needs to contain the
`Google+ Stream/Posts` directory structure.
1. The directory where you want the Markdown files created.### Be just
Check out [casey/just](https://github.com/casey/just) if you haven't heard of
`just` yet.You can see in the [`justfile`](./justfile) how I've been using it to build this
project on my machine. Running `just` without arguments will run the `try`
stanza where I have setup my source and destination directories. Feel free to
edit this for your own convenience -- you would be `just`ified. :grin:Other named recipes are:
* `check` - run rust linters locally
* `newdep crate_name` - add a new create dependancy
* `sync` - get out of a branch after mergingSo `just check` would rerun the linters for you.
I'm still new to `just`, but it has been helpful while developing this
project. I'm working on a blog post or youtube video about my happy
experience with `just`.