Experiments >

Generate a weekly log

Experiment #226th March, 2021by Joshua Nussbaum

At the end of every week, I want to send a list of the past’s weeks experiments to my email list. It would be helpful to have some tools to make that job faster.

So I created a script yarn log, that outputs a markdown list that I can copy and paste into mailchimp.

It’s pretty straightforward, but it will save me 10 minutes every week.

Here’s the code:

const getPosts = require('./posts.js')

getPosts().forEach(post => {
  const { experiment, permalink, title } = post.data

  console.log(`[#${experiment} - ${title}](https://1000experiments.dev/posts/${permalink})`)
})
view all experiments

Stay tuned in

Learn how to add more experimentation to your workflow