GithubHelp home page GithubHelp logo

octogon's Introduction

Octogon

An automatic file upload utility for Octoprint/Octopi

Build Status

Octogon is a simple command line utility which will monitor a single folder on your local file system for the addition/modification of .stl and .gcode extension files and automatically copy them to your Octopi so they appear in your files list.

Octogon uses SSH secure copy to move the files rather than Octoprint's REST API. Files are copied to the watched folder so they will automatically appear in your file list with no browser refresh required.

A folder can be specified which must exist on the Octopi. Uploads which target a folder are sent to the uploads folder directly, a browser refresh may be required if you are already viewing the contents of that folder.

Usage

By default Octogon connects with the user "pi" on octoprint.local, port 22, in most cases only a password -p is required i.e

octogon -p mypassword

Operation can be tailored by passing additional flags, you can see these with octogon -h

Usage of octogon:

  -d	bool	Delete the file after sending
  -f	string	Absolute path to local folder to monitor. Default is current folder
  -hp	string	Remote Hostname and Port to connect on (default "octopi.local:22")
  -ip	string	Remote IP address and Port to connect on
  -p	string	Password, required
  -r	string	Remote folder to send files to. Default is none. Must exist.
  -u	string	User account to connect with (default "pi")

Releases

Built binaries for Linux, Mac & Windows can be found here

License

Ocotogon is made available under MIT license.

octogon's People

Stargazers

 avatar

Watchers

 avatar  avatar

octogon's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.