Skip to content
forked from guysoft/OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web

Notifications You must be signed in to change notification settings

michaeledi/OctoPi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

OctoPi

https://raw.githubusercontent.com/guysoft/OctoPi/devel/media/OctoPi.png

A Raspberry Pi distribution for 3d printers. It includes the OctoPrint host software for 3d printers out of the box and mjpg-streamer with RaspiCam support for live viewing of prints and timelapse video creation. OctoPi also includes OctoPiPanel, which is an LCD display app that works with OctoPrint, and scripts to configure supported display.s This repository contains the source script to generate the distribution out of an existing Raspbian distro image.

Where to get it?

Official mirror is here

Alternative mirror is here

There is also a torrent for 0.10.0 here .

How to use it?

  1. unzip the image and dd it to an sd card like any other Raspberry Pi image
  2. boot the pi and connect it to a lan or wifi network, like any other Rasbpian installation.
  3. OctoPrint is located at http:https://octopi.local and also at https://octopi.local. Since the SSL certificate is self signed (and generated upon first boot), you will get a certificate warning at the latter location, please ignore it.
  4. If a webcam was plugged in, MJPG-streamer is on port 8080. You can reach it at: http:https://octopi.local:8080/?action=stream. It is also setup so that you can reach it under http:https://octopi.local/webcam/?action=stream and SSL respectively.

Features

  • OctoPrint host software for 3d printers out of the box
  • Raspbian tweaked for maximum preformance for printing out of the box
  • mjpg-streamer with RaspiCam support for live viewing of prints and timelapse video creation.
  • OctoPiPanel, which is an LCD display app that works with OctoPrint
  • Configuration scripts for verious LCD displays

Developing

Requirements

  1. qemu-arm-static
  2. Downloaded Raspbian image.
  3. root privileges for chroot
  4. Bash
  5. realpath
  6. sudo (the script itself calls it, running as root without sudo won't work)

Build OctoPi From within OctoPi / Raspbian / Debian / Ubuntu

OctoPi can be built from Debian, Ubuntu, Raspbian, or even OctoPi. Build requires about 2.5 GB of free space available. You can build it by issuing the following commands:

sudo apt-get install realpath qemu-user-static

git clone https://github.com/guysoft/OctoPi.git
cd OctoPi/src/image
curl -J -O -L  http:https://downloads.raspberrypi.org/raspbian_latest
cd ..
sudo modprobe loop
sudo bash -x ./build

Usage

  1. If needed, override existing config settings by creating a new file src/config.local. You can override all settings found in src/config. If you need to override the path to the Raspbian image to use for building OctoPi, override the path to be used in ZIP_IMG. By default the most recent file matching *-raspbian.zip found in src/image will be used.
  2. Run src/build as root.
  3. The final image will be created at the src/workspace

Code contribution would be appreciated!

About

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%