ssb-splitter
Version, currently master branch1 version
- master branchlatestFeb 10, 2019
github.com/masukomi/ssb-splitter
splits long posts into multiple smaller posts for posting to SSB clients
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
ssb-splitter:
github: masukomi/ssb-splitter
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.23.1- License
- MIT
- Author
- masukomi
- Target
splitterfrom src/ssb-splitter.cr
Dependencies
This version declares no dependencies.
README
ssb-splitter
A quick and dirty hack to compensate for max post length in Scuttlebut clients.
- Reads in a markdown file
- Splits it into multiple files with as many paragraphs as possible in each
- adds a line to each post indicating which one it is and of how many. E.g. "post 2 of 12"
Example:
$ ssb-splitter path/to/my/long/post.md
path/to/my/long/post_1.md
path/to/my/long/post_2.md
Those 2 lines after the command are the paths to where it has written your new file.
Usage
ssb-splitter path/to/file
Compiling
crystal build src/ssb-splitter.cr
Contributing
Really? Well, sure. It's written in Crystal. Have fun.
- Fork it ( https://github.com/masukomi/ssb-splitter/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- masukomi masukomi - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Feb 10, 2019
- Crystal
0.23.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/masukomi/ssb-splitter
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1