1.2.0 • Published 4 months ago

colorless-green-ipsum v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

🌿 Colorless Green Ideas Ipsum Generator

Language License Status

"Colorless green ideas sleep furiously" - Noam Chomsky

A sophisticated nonsensical text generator inspired by Chomsky's famous example of a grammatically correct but semantically meaningless sentence. When you need placeholder text that challenges perception and ignites intellectual curiosity, reach for this instead of Lorem Ipsum.

Colorless Green Ideas Ipsum Generator Preview

Sample Output

Teleological phenomena of metaphysical dialectics systematize intrinsically. Epistemologically, transparent axioms meditate. Dialectical epistemologies reify the qualia of being. Ontological monads subsume, notwithstanding phenomenological axioms particularize heuristically.

Apophatic frameworks deterritorialize categorically. Transcendental noumena of hermeneutic quiddities presuppose intrinsically. Metaphysical abstractions ontologize, ergo solipsistic essences sublimate apodictically. Phenomenologically, noumenal aporia delineate.

✨ Features

  • Semantically Absurd: Generates grammatically correct but meaningfully vacant prose
  • Philosophically Rich: Employs vocabulary from epistemology, ontology, phenomenology & more
  • Customizable Output: Control paragraph count and sentence density
  • Multiple Sentence Patterns: Creates varied text structures following linguistic rules
  • Available as NPM package: Easy integration into any JavaScript project
  • Web Interface: Simple UI for generating text directly in the browser

🚀 Live Demo

Try it now: Colorless Green Ideas Ipsum Generator

📋 Usage Examples

NPM Package

Install the package:

npm install colorless-green-ipsum
# or
yarn add colorless-green-ipsum

Use in your project:

// ESM
import { ColorlessGreenIpsum } from "colorless-green-ipsum";

// CommonJS
const { ColorlessGreenIpsum } = require("colorless-green-ipsum");

// Create a new generator instance
const generator = new ColorlessGreenIpsum();

// Generate 3 paragraphs with 4 sentences each
const philosophicalNonsense = generator.generate(3, 4);
console.log(philosophicalNonsense);

Custom styles usage:

// Create a generator
const generator = new ColorlessGreenIpsumGenerator();

// Add a custom "technical" style
generator.addCustomStyle("technical", {
  adjectives: ["digital", "algorithmic", "computational", "binary", "encrypted", "quantum", "neural"],
  nouns: ["networks", "protocols", "algorithms", "processors", "databases", "architectures", "interfaces"],
  verbs: ["compute", "process", "optimize", "integrate", "compile", "debug", "implement"]
  // Note: adverbs and conjunctions will use erudite defaults
});

// Set to the new style
generator.setStyle("technical");

// Generate text using the technical style
const technicalText = generator.generate(2, 3);

// List all available styles (including custom ones)
const styles = generator.getAvailableStyles(); 
// ['common', 'erudite', 'whimsical', 'technical']

// Remove the custom style when no longer needed
generator.removeCustomStyle("technical");

🔧 Dev

  1. Clone the repository:
git clone https://github.com/yourusername/colorless-green-ipsum.git
  1. Run dev script:
yarn dev:www

🤝 Contributing

Contributions are welcome! Feel free to:

  • Add new philosophical terms to the word banks
  • Improve sentence patterns for more variety
  • Enhance the UI/UX
  • Submit bugs and feature requests

📚 Further Reading

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Created with paradoxical intent and metaphysical purpose.

1.2.0

4 months ago

1.1.0

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago