Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ultirequiem/ranmess
đģ Quotable Wrapper and CLI Tool
https://github.com/ultirequiem/ranmess
api-wrapper deno nodejs quotes random terminal typescript
Last synced: 3 months ago
JSON representation
đģ Quotable Wrapper and CLI Tool
- Host: GitHub
- URL: https://github.com/ultirequiem/ranmess
- Owner: UltiRequiem
- License: mit
- Created: 2021-07-01T14:07:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T00:16:08.000Z (about 2 years ago)
- Last Synced: 2024-11-02T10:42:46.225Z (3 months ago)
- Topics: api-wrapper, deno, nodejs, quotes, random, terminal, typescript
- Language: TypeScript
- Homepage: https://ranmess.js.org
- Size: 423 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# ranmess
[![Code Coverage](https://codecov.io/gh/ultirequiem/ranmess/branch/main/graph/badge.svg)](https://codecov.io/gh/ultirequiem/ranmess)
[![Deno Doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/ranmess/mod.ts)The most complete [Quotable](https://github.com/lukePeavey/quotable) API Wrapper
and CLI Tool.> Quotable is a free, open source quotations API.
## Usage
The API is the same on all this platforms âī¸
### [Deno đĻ](https://deno.land/x/ranmess)
```javascript
import * as ranmess from "https://deno.land/x/ranmess/mod.ts";ranmess.cleanQuote(); //=> "In seed time learn, in harvest teach, in winter enjoy."
ranmess.cleanQuote(); //=> "A leader is one who knows the way, goes the way, and shows the way."ranmess.cleanTags(); //=> ["business", "education", "faith", "famous-quotes", ...etc]
```### [Node.js đĸđ](https://npmjs.com/package/ranmess)
```javascript
import * as ranmess from "ranmess";
```### [Browser đ](https://developer.mozilla.org/en-US/docs/Glossary/Browser)
You can use any [CDN](https://en.wikipedia.org/wiki/Content_delivery_network) đĨ
Eg đ
[ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) âī¸
[SkyPack](https://cdn.skypack.dev/ranmess) đ
[Script Tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script)
âī¸ [JSDelivr](https://cdn.jsdelivr.net/npm/ranmess)## Documentation
Is hosted on
[Deno Doc](https://doc.deno.land/https://deno.land/x/ranmess/mod.ts) đThis module is fully typed, includes lot of utils and interfaces!
## CLI đģ
### Install đĻ
#### Deno
```sh
deno install --allow-net https://deno.land/x/ranmess/ranmess.ts
```#### Node.js
```sh
npm install -g ranmess
```[A binary for multiple platforms is provided too!](https://github.com/UltiRequiem/ranmess/releases/latest)
đ¤### Usage đšī¸
```sh
ranmess
```A random quote and its author will be printed!
[Video Showcase](https://youtu.be/42-AMus4olQ) đĨ
## Support
Open an Issue, I will check it a soon as possible đ
If you want to hurry me up a bit
[send me a tweet](https://twitter.com/UltiRequiem) đConsider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like
my work đDon't forget to star the repo â
## Versioning
We use [Semantic Versioning](http://semver.org). For the versions available, see
the [tags](https://github.com/UltiRequiem/ranmess/tags) đˇī¸## Other Art
I also made this on [Rust](https://github.com/UltiRequiem/ruquotes),
[Python](https://github.com/UltiRequiem/quoteran), and
[Go](https://github.com/UltiRequiem/quotable). Even a
[website](https://github.com/UltiRequiem/ulti-random-quotes)!## Licence
Licensed under the MIT License đ