Rob Glew
d5dbf7b29f
|
8 years ago | |
---|---|---|
python/puppy | 8 years ago | |
.gitignore | 8 years ago | |
README.md | 8 years ago | |
certs.go | 8 years ago | |
credits.go | 8 years ago | |
jobpool.go | 8 years ago | |
main.go | 8 years ago | |
messages.org | 8 years ago | |
messageserv.go | 8 years ago | |
proxy.go | 8 years ago | |
proxyhttp.go | 8 years ago | |
proxyhttp_test.go | 8 years ago | |
proxylistener.go | 8 years ago | |
proxymessages.go | 8 years ago | |
schema.go | 8 years ago | |
search.go | 8 years ago | |
search_test.go | 8 years ago | |
signer.go | 8 years ago | |
sqlitestorage.go | 8 years ago | |
sqlitestorage_test.go | 8 years ago | |
storage.go | 8 years ago | |
testutil.go | 8 years ago | |
util.go | 8 years ago |
README.md
The Puppy Proxy (New Pappy)
For documentation on what the commands are, see the Pappy README
What is this?
This is a beta version of what I plan on releasing as the next version of Pappy. Technically it should work, but there are a few missing features that I want to finish before replacing Pappy. A huge part of the code has been rewritten in Go and most commands have been reimplemented.
Back up your data.db files before using this. The database schema may change and I may or may not correctly upgrade it from the published schema version here. It also breaks backwards compatibility with the last version of Pappy.
Installation
Then run:
# Get puppy and all its dependencies
go get https://github.com/roglew/puppy
cd ~/$GOPATH/puppy
go get ./...
# Build the go binary
cd ~/$GOPATH/bin
go build puppy
cd ~/$GOPATH/src/puppy/python/puppy
# Optionally set up the virtualenv here
# Set up the python interface
pip install -e .
Then you can run puppy by running puppy
. It will use the puppy binary in ~/$GOPATH/bin
so leave the binary there.
Missing Features From Pappy
Here's what Pappy can do that this can't:
- The
http://pappy
interface - Upstream proxies
- Commands taking multiple requests
- Any and all documentation
- The macro API is totally different
Need more info?
Right now I haven't written any documentation, so feel free to contact me for help.