Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pforret/shlorem
Lorem Ipsum generator for the command line (pure bash)
https://github.com/pforret/shlorem
bash bashew lorem-ipsum lorem-ipsum-generator script shell
Last synced: 23 days ago
JSON representation
Lorem Ipsum generator for the command line (pure bash)
- Host: GitHub
- URL: https://github.com/pforret/shlorem
- Owner: pforret
- License: mit
- Created: 2021-04-01T16:59:07.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-15T21:09:07.000Z (almost 4 years ago)
- Last Synced: 2024-11-14T06:36:25.379Z (3 months ago)
- Topics: bash, bashew, lorem-ipsum, lorem-ipsum-generator, script, shell
- Language: Shell
- Homepage:
- Size: 727 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![bash_unit CI](https://github.com/pforret/shlorem/workflows/bash_unit%20CI/badge.svg)
![Shellcheck CI](https://github.com/pforret/shlorem/workflows/Shellcheck%20CI/badge.svg)
![GH Language](https://img.shields.io/github/languages/top/pforret/shlorem)
![GH stars](https://img.shields.io/github/stars/pforret/shlorem)
![GH tag](https://img.shields.io/github/v/tag/pforret/shlorem)
![GH License](https://img.shields.io/github/license/pforret/shlorem)
[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash&style=flat)](https://basher.gitparade.com/package/)# shlorem
![shlorem](assets/lorem.jpg)
Lorem Ipsum generator for the command line • multiple languages • arbitrary length
## 🔥 Usage
```
Program: shlorem 1.1.1 by [email protected]
Updated: Apr 1 22:47:45 2021
Description: Lorem Ipsum generator for the command line
Usage: shlorem [-h] [-q] [-v] [-f] [-l ] [-t ] [-s ]
Flags, options and parameters:
-h|--help : [flag] show usage [default: off]
-q|--quiet : [flag] no output [default: off]
-v|--verbose : [flag] output more [default: off]
-f|--force : [flag] do not ask for confirmation (always yes) [default: off]
-l|--log_dir > : [option] folder for log files [default: /Users/pforret/log/shlorem]
-t|--tmp_dir > : [option] folder for temp files [default: .tmp]
-s|--source > : [option] text source: lorem/latin/german/french/english/swedish/dutch/russian/chinese/random [default: lorem]
: [parameter] action to perform: chars/words/sentences/paragraphs
: [parameter] number of text blobs to generate (default: 20) (optional)
### TIPS & EXAMPLES
* use shlorem chars to generate a number of characters
shlorem chars 100
* use shlorem words to generate a number of words
shlorem words 20
* use shlorem sentences to generate a number of sentences
shlorem sentences 5
* use shlorem paragraphs to generate a number of paragraphs
shlorem paragraphs 3
* use shlorem check to check if this script is ready to execute and what values the options/flags are
shlorem check
* use shlorem env to generate an example .env file
shlorem env > .env
* use shlorem update to update to the latest version
shlorem check
```## 👻 Examples
```bash
$ shlorem s
# Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.$ shlorem sentences 5
# Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.
# Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
# Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.$ shlorem -s fr words 49
# Lorsque, par un décret des puissances suprêmes, Le Poète apparaît en ce monde ennuyé,
# Sa mère épouvantée et pleine de blasphèmes Crispe ses poings vers Dieu qui la prend en pitié. Ah!
# Que n' ai je mis bas tout un nœud de vipères, Plutôt que de nourrir cette dérision!$ shlorem -s latin p 2
# Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
# totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
#
# Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
# sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.$ shlorem -s se c 150
# Han kom som ett yrväder en aprilafton och hade ett höganäskrus i en svångrem om halsen.
# Clara och Lotten voro inne med skötekan att hämta honom på Dal$ shlorem -s nl w 28
# Hoe de menschen ook gewoonlijk over mij spreken,—en ik weet maar al te goed,
# in welk een kwaden naam de Zotheid zelfs bij de zotsten staat—beweer ik toch,$ shlorem -s cn c 20
# 人人生而自由, 在尊严和权利上一律平等。$ shlorem -s rnd w 24
# Angling absorbent gene loom hart blowiest smoochy limey metros mils molly slopes.
# Piasters cutlets aspects mingling scapulars seating archers nosedived leave mender lofts
```## 🚀 Installation
with [basher](https://github.com/basherpm/basher)
$ basher install pforret/shlorem
or with `git`
$ git clone https://github.com/pforret/shlorem.git
$ cd shlorem
$ ./shlorem ...## 📝 Acknowledgements
* script created with [bashew](https://github.com/pforret/bashew)
© 2021 Peter Forret