My packages are now Treeware

James Mills > Blog > My packages are now Treeware

When Freek published “Our packages are now postcardware” I was intrigued to know what Postcardware was.

Postcardware, also called just cardware, is a style of software distribution similar to shareware, distributed by the author on the condition that users send the author a postcard.

https://en.wikipedia.org/wiki/Postcardware

We use a number of Spatie packages and so I was determined to do my bit and “send the author a postcard”. You will notice that on all of Spatie packages in the README.md file there is a licence.

I live in Dubai and it’s tricky to send international post so I hand-delivered my postcard to Freek at Laracon and I was pleased to see it on their website soon after.

OK, so what’s Treeware

Before I start to explain what Treeware is I need to touch on one more thing. I have known Phil Sturgeon for a long time and he has been a source of much inspiration. Phil is currently on a bike somewhere and in between biking and working he likes to shout about how we can do our bit to look after this beautiful planet we live on.

He has worked on a website called awesom.earth and one of the services he has been supporting is Offset Earth.

We plant trees & fund the world’s best climate crisis solutions.

Offset Earth

I have seen a big uplift in people adding methods of accepting payments to their opensource packages. GitHub and others have recently released various methods to help maintainers do this. I get it and I think there is a place for this but it didn’t sit well for me and for the small packages I have released. I loved the idea of Postcardware but it still didn’t feel right for me. When Phil shared with me his img.shields.io badge for “buy me a tree” I knew this was exactly the right fit for me.

https://img.shields.io/badge/Buy%20me%20a%20tree-%F0%9F%8C%B3-lightgreen

I have now added the badge to all my packages

As well as adding the simple badge with a link to my offset.earth profile I am also going to add a new section called “Treeware” and taking some inspiration from Spatie’s Postcardware text I am going to add the below to all my packages.

I would love to hear your feedback on this initiative and would love to see if anyone else likes the idea enough to follow!


You can find all my available packages listed here on Packagist

Leave a Reply

Your email address will not be published. Required fields are marked *