• Stars
    star
    200
  • Rank 195,325 (Top 4 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 13 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Null Buildpack

This buildpack was originally designed to run Go programs on Heroku. The idea is that you cross-compile your Go program for Linux and then push you binary to Heroku using Null Buildpack. Additionally I like to use the Platform Deployment API to avoid having to push my (often times large) repo to Heroku.

Heroku buildpacks take a base Linux server and prepare it for your application. For example, if you are deploying a Ruby app, the Ruby Buildpack will install Ruby, Bundler, Node.js, and other things. The Ruby Buildpack will also run scripts when you deploy your app; for example: installing dependencies and compiling css/js assets. Sometimes you don't need any of that and you simply wish to have a bare Linux install. Since the Null Buildpack doesn't do anything, it is very fast when compared to other buildpacks!

Null Buildpack is also a great starting place for developing your own buildpack.

Examples

Create a directory for our Heroku App:

$ mkdir app && cd app

Create a simple binary to run on our Heroku App:

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

Create an app with the Null Buildpack

$ git init; git add .; git commit -am 'init'
$ heroku create --buildpack http://github.com/ryandotsmith/null-buildpack.git
$ git push heroku master

Run the program:

$ heroku run test
Running `test` attached to terminal... up, run.8663
hi

More Repositories

1

l2met

Convert a formatted log stream into metrics
Go
284
star
2

wcld

log data storage
Go
60
star
3

ddbsync

DynamoDB Mutual Exclusion Locking for Go
Go
46
star
4

tat

tab completion for tmux sessions
Shell
38
star
5

redisync

Go synchronization on top of Redis using Lua.
Go
26
star
6

fire-camp

a camp fire app implemented with Backbone.js + Sinatra
JavaScript
25
star
7

adf-config

Config management for Amazon Docker Workflow
Go
24
star
8

log-shuttle

New Repository: https://github.com/heroku/log-shuttle
Go
22
star
9

librato-dash

A librato metric/instrument/dashboard creator
Ruby
13
star
10

queue_classic_example

An example of how to use queue_classic in a Rails3 app
Ruby
12
star
11

instruments

simple instrumentation of popular ruby libs
Ruby
10
star
12

amzn-base

AMI Builder for AWS Platform
Shell
9
star
13

spree-extensions

an extension for an affiliate program among other things.
Ruby
8
star
14

f-lock

A water lock for internet protocol data flow
Ruby
7
star
15

amzn-ship

CLI Controle Plane for AWS Platform
Ruby
6
star
16

metchan

Send metrics from Go to Librato
Go
5
star
17

team-building

A list of team building material submitted by friends and colleagues.
5
star
18

komrade-client

A client for the Komrade worker system.
Ruby
4
star
19

unicorn-instruments

Instrument latency as close to the syscall as possible
Ruby
3
star
20

ontheboard

a extensive set of tools for tracking tallys
JavaScript
3
star
21

sfdb

bdb experiment
C
3
star
22

Elevator

an elevator simulation
Ruby
3
star
23

log_jam

somewhat structured log drains
Ruby
3
star
24

m2pg

Read & Write metrics to a PostgreSQL database with some notion of HA.
Go
3
star
25

bookup

trade books
Ruby
2
star
26

onmorething

Before you go, let me tell you one more thing.
JavaScript
2
star
27

treadex

Ruby
2
star
28

bidstore

a home for you bids
JavaScript
2
star
29

queue_lkls

A lock-free, non-blocking queue data structure.
C
2
star
30

websearch

UMKC CS499
Java
2
star
31

simplecolor

simple colorscheme
Vim Script
2
star
32

decorator

An example of Decorator in Ruby using some meta techniques
2
star
33

DecorationsApp

An application for extending BaseCamp's TODO Lists
Ruby
2
star
34

nile-ha

The nile-ha manages a fleet of monitors to provide ha dns routing as a service
Ruby
2
star
35

command_face

building a ruby cmd app using TDD
Ruby
2
star
36

lpxc

Fast & simple ruby client for Heroku's logplex.
Ruby
1
star
37

TrieHouse

a trie data structure (foudation for a more robust auto-complete search)
Ruby
1
star
38

onholiday

An intuitive approach to tracking time off.
Ruby
1
star
39

simplex.rb-

An optimization algorithm in ruby
Ruby
1
star
40

leader

a front end for csv dumps
JavaScript
1
star
41

rack_createdb

Rack app for creating postgres databases on localhost
Ruby
1
star
42

sickle

Ruby
1
star
43

qman

Go
1
star
44

lscan

convert k=v log lines into Go maps
Go
1
star
45

boc

expose sql boolean query over http. (useful for health checks)
Go
1
star
46

gcal_push

pushes AR models with a date to google's calendar API
Ruby
1
star
47

Bacon

Calculates distance between verticeis in a graph. Also looking at performance using a set for the data structure
Ruby
1
star
48

home

files from my home dir
Vim Script
1
star
49

heroku-lock

lock your heroku app to prevent an accidental `heroku rake db:reset` on production. (also known as "pulling a github")
Ruby
1
star
50

gse_smith_public_web

www.gsenterprises.com and www.smith-transportation.com
JavaScript
1
star
51

l2met-canary

A canary to test a production instance of l2met
Go
1
star
52

af-ruby-example

Amazon Flow Ruby Example
Ruby
1
star
53

Safari-Extension-Key-Logger

captures keyup events and send the data to a remote server
JavaScript
1
star