Oblique Strategies via npx

A node script that prints one of Brian Eno's Oblique Strategies into your terminal

In 1975 Brian Eno and Peter Schmidt released their Oblique Strategies; "Over One Hundred Worthwhile Dilemmas"

The Oblique Strategies constitute a set of over 100 cards, each of which is a suggestion of a course of action or thinking to assist in creative situations. These famous cards have been used by many artists and creative people all over the world since their initial publication. Fifth edition 2001.

You can buy your own set of the cards on Brian Eno's shop (www.enoshop.co.uk/product/oblique-strategies), but you can also get a mini taste of oblique inspiration in your terminal by running the following npx command:

npx oblique-strategy

Examples

┌────────────────────────┐
│                        │
│  Remove a restriction  │
│                        │
│    - Edition 4 (1996)  │
│                        │
└────────────────────────┘
┌─────────────────────────────┐
│                             │
│  Is the tuning appropriate  │
│                             │
│         - Edition 1 (1975)  │
│                             │
└─────────────────────────────┘
┌──────────────────────────────────┐
│                                  │
│  Fill every beat with something  │
│                                  │
│              - Edition 2 (1978)  │
│                                  │
└──────────────────────────────────┘

About the code

The full code for this npm package is viewable on my GitHub at github.com/tomhazledine/oblique-strategy, but there's not really too much to it. There are more lines dedicated to drawing the box around the output than there are for actually picking the strategy.

"proof" that I own a legit copy of the strategies

The strategies themselves were all found on other GitHub repos. I've deliberately not credited any of those projects because, well, they're clearly breaching some kind of copyright 🤷‍♂️ - as too, I should note, am I. As recompense for my flagrant disregard of others' work, I've bought a physical copy of the Oblique Strategies for the princely sum of £50 and I'll take this repo down the second anyone complains.

In truth this was more of a learning exercise for me. I wanted to master the npx process and learned a lot about package.bin in the process, so I'm considering this project a success.



Related posts

If you enjoyed this article, RoboTom 2000™️ (an LLM-powered bot) thinks you might be interested in these related posts:

Improving my Wordle opening words using simple node scripts

Crafting command-line scripts to calculate the most frequently used letters in Wordle (and finding an optimal sequence of starting words).

Similarity score: 56% match (okay, so not very similar). RoboTom says:

Publishing on npm is weird

Navigating the peculiarities of publishing on npm can be a wild ride.

Similarity score: 54% match (okay, so not very similar). RoboTom says:

Newer post:

Adding client side search to a static site

Published on


Signup to my newsletter

Join the dozens (dozens!) of people who get my writing delivered directly to their inbox. You'll also hear news about my miscellaneous other projects, some of which never get mentioned on this site.