talkshitgetdared
Version:
The truth will hurt. An open-source cursed-core engine for Truth & Dare prompts.
147 lines (103 loc) โข 4 kB
Markdown
# TalkShitGetDared ๐
[](https://www.npmjs.com/package/talkshitgetdared)
[](https://opensource.org/licenses/MIT)
[](https://github.com/kyrexiii/TalkShitGetDared/actions)
[](https://www.typescriptlang.org/)
A dangerously cursed, zero-dependency TypeScript package for all your Truth or Dare needs.
Perfect for bots, APIs, party games, emotionally unstable couples, and Discord servers with too much time on their hands.
> **Warning:** Use responsibly... or donโt. Iโm not legally responsible if your relationship ends (again).
## ๐ Documentation
For detailed documentation, API references, and advanced usage, visit:
๐ **[haruka.lol/projects/TalkShitGetDared](https://haruka.lol/projects/TalkShitGetDared)**
## ๐ฅ Features
**TalkShitGetDared** is a JSON-fueled chaos engine packed with:
- ๐ญ **380+ Prompts:** Truths that hurt and dares that might get you arrested.
- ๐ **Multi-Language Support:**
- ๐บ๐ธ **English** (SFW + NSFW)
- ๐ช๐ธ **Spanish** (SFW + NSFW)
- ๐ฎ๐ณ **Hinglish** (SFW + NSFW) _(New!)_
- ๐ **Dual Modes:** Safe for Work (SFW) and Not Safe for Work (NSFW).
- ๐ฏ **Advanced Filtering:** Filter by difficulty (`easy`, `medium`, `hard`, `extreme`) and category.
- ๐ฆ **Batch Operations:** Get multiple unique prompts in a single call.
- ๐ซ **Deduplication:** Optional history tracking to prevent repeating prompts.
- ๐ ๏ธ **CLI Tool:** Run truth or dare directly from your terminal.
- โก **Zero Dependencies:** Lightweight and fast.
## ๐ Installation
```bash
npm install talkshitgetdared
```
or if you prefer other package managers:
```bash
pnpm add talkshitgetdared
# or
yarn add talkshitgetdared
```
## ๐ป Usage
### Library Usage
```typescript
import {
getTruth,
getDare,
getRandom,
getBatch
} from 'talkshitgetdared';
// ๐ฒ Get a random truth
const truth = getTruth();
console.log(truth.prompt.text);
// ๐ Get a specific dare
const dare = getDare({
mode: 'nsfw',
difficulty: 'hard',
language: 'english'
});
console.log(dare.prompt.text);
// ๐ฆ Get a batch of 5 unique SFW prompts
const batch = getBatch({
count: 5,
mode: 'sfw',
ensureUnique: true
});
console.log(batch.prompts.map(p => p.prompt.text));
```
### CLI Usage
You can use the CLI directly without installing via `npx`:
```bash
# Get a random truth
npx talkshitgetdared truth
# Get a NSFW dare
npx talkshitgetdared dare --mode nsfw
# Get a Hinglish prompt
npx talkshitgetdared random --language hinglish
# View library statistics
npx talkshitgetdared stats
```
## ๐ Project Structure
```
src/
โโโ data/ # Prompt data files (JSON/TS)
โ โโโ lang/ # Organized by language/mode
โโโ lib/ # Core logic
โ โโโ core/ # Main entry point
โ โโโ services/ # Business logic services
โ โโโ types/ # TypeScript definitions
โโโ cli.ts # CLI implementation
```
## ๐ค Contributing
Want to contribute your cursed prompts?
Fork it, PR it, or write them on a napkin and throw it into the ocean. If it floats back to me, Iโll probably add it.
Check out the [Contributing Guidelines](CONTRIBUTING.md) for more details.
## โ ๏ธ Emotional Disclaimer
This package will not fix your situationship, improve your friendships, or help you get your ex back.
It *might*, however, destroy all three at once.
I will **not** be attending your therapy session.
## ๐ License
MIT โ do literally anything. Just donโt sue me if your friends block you.
[View License](./LICENSE.txt)