A cross platform single binary tool to work with draw io files

Overview

SNIPO

SNIPIO is a cross platform single binary tool to work with draw io files

With snipio you can do the following operations:

  • list all layers in a drawing
  • delete a layer from a drawing
  • export a layer from a drawing
  • unpack a mxfile
  • classify a drawing as draft

How to use it

snipio show layers will show all available layers in a drawio document. It requires you to specify the document file with the parameter -f or --file.

Example: snipio show layers -f mydrawiofile.xml

snipio delete layer will delete a layer from the draw.io document. it requires the input file with the parameter -f or --file. Also the name of the layer has to be provided via the flag -n or --name. Optionally you can specify the output file with the flag -o or --output. If no output file is provided the results will be written to a file named export.xml.

Example: snipio delete layer -f mydrawiofile.xml -n layer1 -o precessedfile.xml

snipio export layer will export the selected layer from the draw.io document to a new file. It requires the input file with the parameter -f or --file. Also the name of the layer has to be provided via the flag -n or --name. Optionally you can specify the output file with the flag -o or --output. If no output file is provided the results will be written to a file named export.xml.

Example: snipio export layer -n mydrawiofile.xml -n layer1 -o precessedfile.xml

snipio unpack will convert a mxfile to a xml file. It requires the input file with the parameter -f or --file. Optionally you can specify the output file with the flag -o or --output. If no output file is provided the results will be written to the console.

Example: snipio unpack -f myMxFile.xml

snipio classify draft will add a layer on top of the document with a draft watermark. It requires the input file with the parameter -f or --file. Optionally you can specify the output file with the flag -o or --output. If no output file is provided the results will be written into a file named export.xml.

Example: snipio classify draft -f mydrawiofile.xm

Installation

Right now there are no pre-builds to download. Might come in the future.

  • Please install the go programming language. Follow the instructions at https://go.dev/.
  • Clone the repo
  • run go install in the directory of the repo. That's it.
  • you could also use go run main.go to run it. Or go build main.go to build a binary for yourself.

That's it! Have fun.

Issues
Owner
Felix Becker
ux, web application, golang, fsharp, dotnet, nodes.js, distributed systems, functional stuff
Felix Becker
A quick and easy password protected web server for your files. httpfolder makes downloading/uploading files from your current working directory easy, even for fairly large files.

httpfolder A quick and easy password protected web server for your files. httpfolder makes downloading/uploading files from your current working direc

null 12 Jun 24, 2021
A web application example to work with a customer object

Wallester Task This repository contains a web application example to work with a customer object. Build in GO version 1.17.1 Live running app example

null 0 Oct 25, 2021
Package GoEagi provides some fundamental functionalities that work with Asterisk's EAGI

GoEagi Package GoEagi provides some fundamental functionalities that work with Asterisk's EAGI. It has the following features: Audio Streaming Google'

null 2 Dec 6, 2021
Beautifully simple single author blog in Go - derived from Bear Blog.

Polar Bear Blog ??‍❄️ Lightweight blogging system for a single author. Written in Go and deploys to your own GCP project with a few commands. It's a d

Joseph Spurrier 23 Dec 4, 2021
Everything a semantic desktop search engine combined with a single-user document management system

Everything will be a semantic desktop search engine combined with a single-user document management system. It will apply ideas of the semantic web and knowledge graphs to organize your data, allowing you to maintain private knowledge graphs as well as make use of public knowledge graphs, such as Wikidata.

Dominik Honnef 21 Aug 15, 2021
Gramaddict web UI interface for a single device

Gramaddict web UI interface for a single device allow you to see the logs in real time, start and stop the bot all from your browser.

Yaniv Eliash 1 Nov 18, 2021
WriteFreely is a clean, minimalist publishing platform made for writers

WriteFreely is a clean, minimalist publishing platform made for writers. Start a blog, share knowledge within your organization, or build a community

WriteFreely 2.5k Nov 30, 2021
GoatCounter is an open source web analytics platform available as a hosted service or self-hosted app

GoatCounter is an open source web analytics platform available as a hosted service (free for non-commercial use) or self-hosted app. It aims to offer easy to use and meaningful privacy-friendly web analytics as an alternative to Google Analytics or Matomo.

zgoat 2.3k Dec 5, 2021
an online REST renting book platform which you can authenticate, order, reserve a book in your account.

BOOK MAN an online REST renting book platform which you can authenticate, order, reserve a book in your account. it's a microservices project with hig

Mohammad 8 Oct 24, 2021
Mattermost is an open source platform for secure collaboration across the entire software development lifecycle.

Mattermost is an open source platform for secure collaboration across the entire software development lifecycle. This repo is the primary source for c

Mattermost 21.6k Dec 5, 2021
goof is a woof written in go - share files via a simple httpd

#goof - share files through HTTP protocol goof (Go Offer One File) is a very simple tool to send and receive files on your local LAN. Features include

Fredrik Steen 13 May 8, 2020
Handles file uploads & organises files based on your database entities.

Handles file uploads & organises files based on your database entities.

Joe Gasewicz 2 Sep 27, 2021
Server and bookmarklet to download files via youtube-dl directly from your browser

gropple A web service and bookmarklet to download videos with a single click. Pre-requisites a passing familiarity with the command line youtube-dl (p

Justin Hawkins 12 Nov 21, 2021
An application for generating Microsoft Word resumes from JSON Resume data files

ResumeFodder NOTE: Primary development has moved over to GitLab: https://github.com/andrzejressel/ResumeFodder. If you're reading this on GitHub, then

​Andrzej Ressel 0 Oct 20, 2021
Store files in Telegram messages for free and access them from a modern Web UI

Telegram Storage Store files in Telegram messages for free and access them in a nice web UI. Telegram allows to store files (of max 2GB each) for a un

Jack 3 Nov 30, 2021
sigurlx a web application attack surface mapping tool.

sigurlx a web application attack surface mapping tool, it does ...:

Alex Munene 31 Jul 24, 2021
The cider is a simple tool of building GitHub pages. It's fast and easy to use.

The cider is a simple tool of building GitHub pages. It's fast and easy to use. See example: https://www.leyafo.com Install Compiling from source code

李亚夫 51 Nov 16, 2021
urlhunter is a recon tool that allows searching on URLs that are exposed via shortener services such as bit.ly and goo.gl.

a recon tool that allows searching on URLs that are exposed via shortener services

Utku Sen 1.2k Dec 5, 2021
Analytics box a simple and privacy focused analytics tool written in go like google analytics

Analytics box is analytics tool like google analytics but instead of ripping user's privacy off them like google it respects their privacy and doesn't collect any unnecessary information.

Ketan Iralepatil 2 Sep 20, 2021