All Projects → ph3nx → heroku-binary-buildpack

ph3nx / heroku-binary-buildpack

Licence: other
Heroku buildpack to execute binaries.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to heroku-binary-buildpack

Binary Human Pose Estimation
This code implements a demo of the Binarized Convolutional Landmark Localizers for Human Pose Estimation and Face Alignment with Limited Resources paper by Adrian Bulat and Georgios Tzimiropoulos.
Stars: ✭ 210 (+624.14%)
Mutual labels:  binary
go-delta
go-delta - A Go package and utility to generate and apply binary delta updates.
Stars: ✭ 25 (-13.79%)
Mutual labels:  binary
gucci
Templating on the command line with sprig.
Stars: ✭ 74 (+155.17%)
Mutual labels:  binary
Android Upload Service
Easily upload files (Multipart/Binary/FTP out of the box) in the background with progress notification. Support for persistent upload requests, customizations and custom plugins.
Stars: ✭ 2,593 (+8841.38%)
Mutual labels:  binary
extrude
🕵️ Analyse binaries for missing security features, information disclosure and more...
Stars: ✭ 51 (+75.86%)
Mutual labels:  binary
Image-Processing-CLI-in-Rust
CLI for image processing with histograms, binary treshold and other functions
Stars: ✭ 25 (-13.79%)
Mutual labels:  binary
Binaryserializer
A declarative serialization framework for controlling formatting of data at the byte and bit level using field bindings, converters, and code.
Stars: ✭ 197 (+579.31%)
Mutual labels:  binary
literate-binary
Integrate handcrafted binary and documentation
Stars: ✭ 37 (+27.59%)
Mutual labels:  binary
hext
Markup language and tool for generating binary files
Stars: ✭ 23 (-20.69%)
Mutual labels:  binary
surge
Simple, specialised, and efficient binary marshaling
Stars: ✭ 36 (+24.14%)
Mutual labels:  binary
Bson4jackson
A pluggable BSON generator and parser for the Jackson JSON processor.
Stars: ✭ 244 (+741.38%)
Mutual labels:  binary
jomini
Low level, performance oriented parser for save and game files from EU4, CK3, HOI4, Vic3, Imperator, and other PDS titles.
Stars: ✭ 40 (+37.93%)
Mutual labels:  binary
fastproto
FastProto is a binary data processing tool written in Java.
Stars: ✭ 65 (+124.14%)
Mutual labels:  binary
Reverse Engineering Tutorials
Some Reverse Engineering Tutorials for Beginners
Stars: ✭ 217 (+648.28%)
Mutual labels:  binary
NALib
General purpose C sourcecode collection
Stars: ✭ 16 (-44.83%)
Mutual labels:  binary
Chronicle Wire
A Java Serialisation Library that supports multiple formats
Stars: ✭ 204 (+603.45%)
Mutual labels:  binary
bmod
bmod parses binaries for modification/patching and disassembles machine code sections.
Stars: ✭ 12 (-58.62%)
Mutual labels:  binary
embd-go
embd-go is an embeddable command-line tool for embedding data files in Go source code, specially crafted for easy use with `go generate`.
Stars: ✭ 24 (-17.24%)
Mutual labels:  binary
heroku-buildpack-graphviz
Install Graphviz on Heroku
Stars: ✭ 18 (-37.93%)
Mutual labels:  heroku-buildpack
binstruct
Golang binary decoder for mapping data into the structure
Stars: ✭ 67 (+131.03%)
Mutual labels:  binary

Heroku Binary Buildpack

Use this buildpack if you want to execute binaries on Heroku. APP is the name of your heroku app. For some commands you need to append "-a APP" or change the directory to the local folder of your app with

$ cd /path/to/folder

Usage

Create Heroku app with this buildpack and clone it:

$ heroku create APP --buildpack https://github.com/ph3nx/heroku-binary-buildpack.git
$ heroku git:clone APP

Create a bin folder in your app and set the $PATH variable in Heroku:

$ mkdir APP/bin
$ cd APP
$ heroku config:set PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin

Your App is now ready to use. Put binary files in your the /bin directory. Here is an example of an executable that will run on 64bit linux machine:

$ echo -e "#\!/usr/bin/env bash\n echo hello world" > ./bin/program
$ echo "program: bin/program" > Procfile
$ chmod +x ./bin/program

Test the program locally:

$ ./bin/program
hello world

Push the app to Heroku and run our executable:

$ git add -A; git commit -am 'init'
$ git push heroku master
$ heroku run program
Running `program` attached to terminal... up, run.8663
hello world

You could also add this buildpack to an exesting heroku app:

$ heroku config:set BUILDPACK_URL=https://github.com/ph3nx/heroku-binary-buildpack.git -a APP
Setting config vars and restarting cmds... done, v3
BUILDPACK_URL: https://github.com/ph3nx/heroku-binary-buildpack.git

Issues

You will need to make sure that a 64bit linux machine can execute the binary.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].