HNHacker News
TopNewBestAskShowJobs

PiBakery

33 karma · joined September 7, 2016

Creator of PiBakery, the block based, easy to use setup tool for Raspberry Pi.
submissionscomments
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
I'll be adding that in the next update - I have it nearly working in my testing version!
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
Currently there is no way for me to push updates for the code to PiBakery, but there is a way for me to push block updates. I guess I just don't want the 1500+ people that have downloaded PiBakery to have to redownload PiBakery to get new blocks, if it's possible.

That said, I am looking into an "if" block and then reporter blocks for it, and it may happen in the future.

PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
That would make sense, as Snap was based off Scratch, and Blockly (what I use) was also based off Scratch.
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
All the code is on GitHub, so feel free! http://github.com/davidferguson/pibakery
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
I did have a concept of this at one point - but I was concerned that internet speeds would prevent that from working as well as it could.
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
A block for setting a static IP is in the making - follow @PiBakery on twitter to find out when I push out that update!

There is, however, a block for running custom commands (as root or pi user) so maybe you would be able to use that in the meantime?

PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
Adding in your own image will (almost certainly) never be supported, but I am right now adding in Raspbian lite, as that seems to be a universally wanted feature. Follow @PiBakery on twitter for news on when I release it!
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
Originally I wanted to have "if" blocks and reporters for whether the Pi had a camera or not, whether it was connected to the internet, etc., but I decided fairly on that this would overcomplicate PiBakery considerably, and so I went with the blocks failing (hopefully gracefully!) instead.

If I have some free time, I may experiment with adding "if" blocks in - although the main disadvantage is that this wouldn't be backwards compatible with previous PiBakery versions, and that's fairly important to me. But I'll see how things go.

PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
Sadly PiBakery uses a slightly customised version of Raspbian, so simply using the "standard" Raspberry Pi one wouldn't work. If you know how, you can make the customisations to Raspbian yourself - the changes I made are on the PiBakery-Raspbian GitHub page: https://github.com/davidferguson/pibakery-raspbian
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
Exactly, I start with the Raspbian Full image and slightly modify it to work with PiBakery. If you want to see exactly what I have changed, I have a GitHub repo of that as well - https://github.com/davidferguson/pibakery-raspbian .

I will be doing the same process with Raspbian Lite (as having a minimal image is the most wanted feature) and allowing users to choose whether they want to use Full or Lite when writing to SD.

PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
Glad you like PiBakery - one of it's inspirations was actually for the Raspberry Pi club I run at school. Hopefully it'll make your life a bit easier!
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
You've actually almost exactly described how PiBakery works - except that PiBakery obviously can write the image as well. Once the image is written, PiBakery just writes some scripts into the /boot/PiBakery/ directory, which is checked by a systemd startup script, and executed.

And if you want to create custom blocks to add in to PiBakery for your own tools/scripts, you're welcome to do that! I have a guide on the PiBakery website - www.pibakery.org/docs/contribute.html - that describes this process that you can look at if you want.

PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
Having support for Raspbian Lite is possibly the most requested feature right now (along with a block for static IP), and I'm working on that right now. Follow @PiBakery on twitter to get notified of when that update is released!
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
I'm currently waiting for my Apple and Windows code signing certificates, which will mean I can ditch the while "How to install" pages and just have the binaries install when you click on the big button on the main downloads page. Sadly this seems to be taking a while (I've been waiting on my Windows certificate over 2 weeks now) but I'm hoping I'll get them soon!
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
It's not a block I had previously considered, but any block can be added in!

What exactly do you mean by encrypted pi? The entire SD encrypted, one partition encrypted, or something else? If you have a script that does something like this, feel free to submit a block for it (guide at http://www.pibakery.org/docs/contribute.html) or send me the script and I can add it in for you.

Thanks for your interest in PiBakery!

PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
Thanks, and yes, the whole ideas was to make it that anyone who's used Scratch (which covers a lot of the Pi community) would be able to instantly use PiBakery.
PiBakery··on PiBakery – a blocks based, easy to use setup tool for Raspberry Pi
If anyone has any feedback on PiBakery, I'd love to hear it!