GithubHelp home page GithubHelp logo

isabella232 / alpinepass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from katzer/alpinepass

0.0 0.0 0.0 2.33 MB

Exports the Orbit KDB into various file formats.

License: Apache License 2.0

Ruby 97.38% C 2.62%

alpinepass's Introduction

alpinepass
GitHub release Build Status Build status Maintainability

The tool that exports your Orbit KeePass database into various file formats.

$ alpinepass -h

Usage: alpinepass [options...] -i input_file [-o output_file] matchers...
Options:
-i, --input     Path to the input file
-o, --output    Path to the output file
-f, --format    Format of the output file
                Defaults to: fifa
-c, --check     Check the content of the input file
-p, --pretty    Pretty print output
-s, --secrets   Export secrets like passwords
-h, --help      This help text
-v, --version   Show version number

Installation

Download the latest version from the release page and add the executable to your PATH.

Usage

Transform the KeePass file by using the $ORBIT_HOME/config/orbit.xsl stylesheet:

KPScript -c:Export "%ORBIT_HOME%\config\orbit.kdbx" -pw:MyPw -Format:"Transform using XSL Stylesheet" -XslFile:"%ORBIT_HOME%\config\orbit.xsl" -OutFile:"%ORBIT_HOME%\config\orbit.export"

Then convert the exported data into a valid knowledge database for fifa:

$ alpinepass -i keepass.export -f fifa -o orbit.json

To create a knowledge database for fifa containing production databases only:

$ alpinepass -i keepass.export -f fifa -o orbit.json type=db@env=prod

Note: See here for how to use KPScript with single command operations to perform simple database operations. Of course you can also use the GUI to perform the export.

Development

Clone the repo:

$ git clone https://github.com/katzer/alpinepass.git && cd alpinepass/

Install the dependencies:

$ bundle

And then execute:

$ rake compile

To compile the sources locally for the host machine only:

$ MRUBY_CLI_LOCAL=1 rake compile

You'll be able to find the binaries in the following directories:

  • Linux (64-bit Musl): build/x86_64-alpine-linux-musl/bin/alpinepass
  • Linux (64-bit GNU): build/x86_64-pc-linux-gnu/bin/alpinepass
  • Linux (64-bit, for old distros): build/x86_64-pc-linux-gnu-glibc-2.9/bin/alpinepass
  • OS X (64-bit): build/x86_64-apple-darwin17/bin/alpinepass
  • Windows (64-bit): build/x86_64-w64-mingw32/bin/alpinepass
  • Host: build/host/bin/alpinepass

For the complete list of build tasks:

$ rake -T

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/katzer/alpinepass.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

The code is available as open source under the terms of the Apache 2.0 License.

Made with ❤️ in Leipzig

© 2017 appPlant GmbH

alpinepass's People

Contributors

eightbitboy avatar katzer avatar nbatsukh avatar

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.