FullPageOS – Out-Of-The-Box Kiosk mode for the RaspberryPi October 17, 2015Posted by GuySoft in linux, open source, programming.
Tags: full screen, hdmi, kiosk, raspberry, raspbian, release
Today I am announcing a RaspberryPi operating system that addresses a small need we have – Get the RaspberryPi to display a webpage on full screen with no hassle.
The OS is called FullPageOS. And you can download it here.
Why I built it
A friend of mine, Tailor Vijay wanted something to stream video and add titles to it. Also I was looking for a way to start the RaspberryPi with a browser on full screen for a stats screen at work, and apparently the only thing available is complex guides that only partly work on today’s RaspberryPi.
So what I did last weekend is build a distro based off the code of OctoPi, the 3D printer operating system I built. All this distro does is start Chromium at boot on full screen, with a URL of your choice. The url can be changed conveniently from a text file on the /boot FAT folder. So all you have to do is set the wifi and url via text files, boot, and voilà!
Among the minor tweaking is the elusive setting of disabling the screen from blanking.
How to set it up
What’s nice about FullPageOS is that its simple, no need to install packages, just flash it like any distro, set your wifi and URL settings and boot.
- Open the FAT filesystem that is mounted as /boot
on the pi
- Set the URL you want in the file fullpageos.txt
- If you need to set up wifi, set your wifi settings with the file fullpageos-network.txt or any way you want are used to on the RaspberryPI
- Plug to HDMI display, internet and boot
Tags: linux, OctoPi, open source, Raspberry Pi, raspbian
OctoPi has got a lot of support, and it has been great to see people are adopting it.
I have released a new version of OctoPi, which has the following new features:
- Support for both Raspberry Pi camera and webcam. Depending on which you plug to the Pi (Thanks to Gina)
- New version of OctoPrint with ACL support
- OctoPrint now runs on HTTPS using HAProxy, allowing secure connection to your printer over the internet
I will note it was pretty nice get in to this release PiCam support, since I have no camera it required collaboration of both Gina and me, meaning we have a distro now that probably can cope with more hardware than you would have in your average personal configuration.
Also thanks Matvin for the storage, and we also have another mirror lined up in case of a overload, which happened last time.
Tags: 3D Printers, debian, OctoPrint, open source, programming, Raspberry Pi, raspbian
Update2: New mirror opened after Dropbox suspended my public links due to traffic. Download the image here.
Update: Dropbox have suspended my Public links due to “extreme traffic activity” so in a few hours I should be syncing the image to other mirrors. Other hosting would be appreciated!
I am happy to say that I am a backer of the Rigidbot 3D printer, (which you can pre-order already), I am expecting it to arrive in August. In the meantime, I have ordered a Raspberry Pi to play with and started visiting a local maker community known as XLN.
This led me to find a really cool project called OctoPrint, which lets you control 3D printers using a Raspberry Pi over a web interface, however people were not installing it on their Pis because there was no out-of-the-box solution. Today I am happy to announce that a solution is here! I give you Octoprint + Rapberry Pi = OctoPi. A raspberry Pi distribution which runs OctoPrint out of the box, with support for time-lapse video on webcams (there is also an experiential version in the works that supports streaming from a raspberry Pi camera).
Just dd the image on to an sd card, put the sd card in your Pi, boot it and connect to the network and printer, then point your browser to http://octopi.local and you have a fully functional 3D printer server! Plug in a webcam and can also make time-lapse videos. Just as simple as that. More details for windows users can be found on OctoPrint’s download page.
Pull requests, forks and issue reports are welcome. Also it would be helpful if someone could help me mirroring, since currently the images are hosted on my Dropbox account.
Share and enjoy,
TEDding from the car – gPodder video Plugin for Rockbox April 7, 2011Posted by GuySoft in Crictor, diy, Electronics, ipod, ITU, linux, open source, podcast, programming, python.
Tags: car, diy, ffmpeg, gpodder, mp4, mpeg, open source, python, rockbox, TED, video
After a few weeks of bouncing emails with Thomas Perl I am happy to announce that we have a working plugin for his wonderful podcast application called gPodder. With this plugin installed, any mp4 video podcast that is downloaded with gPodder is automatically converted to a format playable by rockbox MPEG player plugin. Effectively meaning seamless sync of video podcasts to any rockbox enabled device. I am specifically using the Sansa fuze player, but just changing the screen resolution at the top of the plugin should make it work with any other rockbox device, and with the right screen size. The final product for me of all this technical stuff is that I can listen to TED lectures in the car. Or using the verb was coined by my friend Uzair “TEDding” from my car.
How to Install
- First you should have gPodder installed (available also as “apt-get install gpodder” or any other distribution install equivalent).
- Second you will need these packages installed too:
apt-get install python-kaa-metadata ffmpeg python-dbus
- Now all that is left is to copy this script to
mkdir -p ~/.config/gpodder/hooks/ cp rockbox_mp4_convert.py ~/.config/gpodder/hooks/
- If your are using a different player from the Sansa Fuse, modify the first lines to your screen resolution:
DEFAULT_DEVICE_WIDTH = 224.0 DEFAULT_DEVICE_HEIGHT = 176.0
make sure to include the .0 at the end.
- Thats it! Now each time video is download, for example from the TEDTalks Video Podcast it would be converted on arrival, and relinked as the file to be synced.
As usual, I would love to hear feedback from users and suggestions.
Tags: cellphones, gammu, internet, linux, open source, python, release, sms, twitter
I am releasing here set of instructions and source that will enable anyone to set up a phone number, that if you SMS it, will post your massage on to your own twitter account. This service is called “Twiter SMS Gate”. The service handles multiple users, and should be easily modified to support other services like statusnet (and with a bit more code maybe even other social networks). The SMS hardware required is any cheap cellphone that can work with gammu-smsd (mine is a fake Nokia from India). Twiter SMS Gate also lets users easily register to it with their own cellphone.
I hope that people that like this idea would start hosting more SMS gates, as we create a wide network of those around the world. SMS Twitter Gate-IL , The Israeli Gate, has been running for a few weeks now and even got covered in the local media here.
The source is written in Python, which includes the phone hardware hooks, webserver, twitter client and database access.
Here is the cellphone used to run my server, just to show you how simple it is to do this, no super-expensive hardware required! (server is also my personal Linux-running PC:
- Source is available here on GitHub, along with basic instructions on how to set it up.
- Working example of an SMS Twitter Gate in Israel
- List of working gates (one at the time of writing this)
If you have any kind of difficulty setting this up, please give me feedback, so we can make it as easy as possible.
3arabi – Arabic chat to English translator December 4, 2010Posted by GuySoft in Crictor, Hamakor, ITU, open source, programming, python.
Tags: 3arabi, arabic, code, open source, programming, python
As some might have noticed, Arabic speakers on the net use a form of writing called ‘Arabic chat‘ or 3arabi, which involves using Latin characters and Hindu-Arabic numerals to write words in Arabic. I wrote a small service called 3arabi that lets you translate this Arabic chat directly to English.
Apparently there are tools to do transliteration (converting Latin letters back to Arabic), and also translation. But nothing that does them both. That is why I wrote a small script that uses Google’s transliteration service and ‘Google Translate’. This does the job, but is not perfect, however, it does actually help me understand some messages.
The source is also available in GitHub (its in python). If anyone contributes better code I’ll merge it back to the service.
Thanks to Ira Abramov for hosting the service!
Thanks Muhammad Khatib who wrote Google Translate python API and for releasing it.
Update: Google seem to be blocking the translation service, thinking its spam, if anyone knows how to contact them and asking them to lift that ban would be appreciated.
Using CHDK to photograph blackboards in University Courses August 5, 2010Posted by GuySoft in Crictor, diy, Hamakor, ITU, linux, open source, programming, python.
Tags: chdk, diy, hacking, open source, programming, python, university
During last semester I developed a set of scripts that lets me photograph pictures of the blackboards during my university courses, categorize them while I am taking them and automatically generate PDF document for each course week. Because physics equations are not the simplest things to input in to a laptop in realtime, I have developed the following method. I am writing the post because I have a feeling this tool could help people in many ways, since it did change how I study in lectures.
How it works in a nutshell
During the lesson I take the photographs of the blackboard with a script I wrote for CHDK. In the script you set the course and week of the semester and this is stored per-picture on the SD card.
1 comment so far
I have been using twitter quite a lot recently and to users that are using non-Latin tweets, it might have occurred that the hashtags don’t work.
It will add a search link on the word, unfortunately due to a twitter bug, I had to remove the number sign (#) because twitter can’t search with it.
- The script should work with all non-Latin languages (tested Hebrew, Arabic and Chinese)
The script does not work when the “more” button is pressed. If anyone knows how to solve that please contact me.fixed!
I hope this becomes a useful tool for people.