Skip to main content

Github Mirror by Narabot

A collection of github projects and software automatically acquired by Narabot.

PART OF
The Vintage Software Collection
More right-solid
More right-solid
SHOW DETAILS
up-solid down-solid
eye
Title
Date Reviewed
Creator
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
Drop-in pages (and libraries) for Flamework so that all auth and login magic is handled using the GitHub as a single sign-on provider. flamework-sso-github Drop-in pages (and libraries) for Flamework so that all auth and login magic is handled using the Github as a single sign-on provider. To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-flamework-sso-github_-_2016-04-05_19-22-15/whosonfirst-flamework-sso-github_-_2016-04-05_19-22-15.bundle...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 5
favorite 0
comment 0
Flamework libraries for working with the Who's On First chatterbox daemon. flamework-chatterbox Flamework libraries for working with the Who's On First chatterbox daemon. Important Two things: If you're not already familiar with how Flamework projects work this will probably won't make much sense. The libphp-predis package (used by flamework-redis ) does not play nicely with the built-in pubsub server that is part of go-whosonfirst-chatterbox so you'll need to make sure that you are routing...
Topics: GitHub, code, software, git
Given a Who's On First ID resolve its absolute URL. go-whosonfirst-roundhouse Given a Who's On First ID resolve its absolute URL. Caveats Currently the default root for all absolute URLs is https://whosonfirst.mapzen.com/data/ . It is not possible to specify alternatives. Yet. Build The easiest thing is just to use the handy build target in the Makefile. This will fetch all the dependencies and build all the tools, described below. Like this: $> make build Tools wof-roundhouse $>...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 1
favorite 0
comment 0
Go package for working with Who's On First data and S3 buckets go-mapzen-whosonfirst-s3 Go package for working with Who's On First data and S3 buckets Install You will need to have both Go (specifically a version of Go more recent than 1.7 so let's just assume you need Go 1.9 or higher) and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Important Parts (or all) of this...
Topics: GitHub, code, software, git
Go package for working with Who's On First brands. go-whosonfirst-brands Go package for working with Who's On First brands. Important Too soon. Move along. Tools wof-brands-create ./bin/wof-brands-create -name 'Pok Pok' -root /usr/local/data/whosonfirst-brands/data//usr/local/data/whosonfirst-brands/data/112/612/891/1/1126128911.json wof-brands-find ./bin/wof-brands-find -root /usr/local/data/whosonfirst-brands 'Burma...
Topics: GitHub, code, software, git
None go-whosonfirst-breaches Determine what Who's On First documents are "breached" by another candidate Who's On First document. Caveats This is probably not ready for any kind of use yet. For example it does not account for interior rings in either the source or candidate Who's On First documents. If you're feeling dangerous by all means, dive in! Example ```./bin/wof-breaches -data /usr/local/mapzen/whosonfirst-data/data...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 5
favorite 0
comment 0
Listen to a Redis PubSub channel and then rebroadcast it over Server-Sent Events (SSE). go-pubssed Listen to a Redis PubSub channel and then rebroadcast it over Server-Sent Events (SSE). Install You will need to have both Go and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Packages broker ```import ( "github.com/whosonfirst/go-pubssed/broker" "net/http")...
Topics: GitHub, code, software, git
Python tools for Who's On First notifications py-mapzen-whosonfirst-chatterbox Python tools for Who's On First notifications Usage Publish import mapzen.whosonfirst.chatterboxn = mapzen.whosonfirst.chatterbox.notifications()n.publish('debug', 'hello') Subscribe ```import mapzen.whosonfirst.chatterboxn = mapzen.whosonfirst.chatterbox.notifications() def callback(event): print event n.subscribe('debug', callback)``` Under the hood It's just Redis PubSub. See also http://redis.io/ To restore the...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 2
favorite 0
comment 0
Go package for channel-based timers. go-whosonfirst-time Go package for channel-based timers. Install You will need to have both Go and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Important This is wet paint. It's probably too soon for you. To restore the repository download the bundle wget...
Topics: GitHub, code, software, git
Python tools for indexing Who's On First documents. py-mapzen-whosonfirst-index Python tools for indexing Who's On First documents. Caveats DO NOT USE THIS YET. NO. This is not ready for general purpose usage yet. To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-py-mapzen-whosonfirst-index_-_2016-01-30_02-36-16/whosonfirst-py-mapzen-whosonfirst-index_-_2016-01-30_02-36-16.bundle and run: git clone...
Topics: GitHub, code, software, git
Buckets and vessels of meaning for Who's On First documents. whosonfirst-categories IMPORTANT: THIS IS WORK IN PROGRESS. Right now it is as much about just putting things down on paper to look at themas it is actually deciding the how or the what of anything. It's like triples... but with a point of view Points of view At the moment there is only one point of view. The point (sorry) is there can beothers but there aren't yet. You know, like this : The default point of view, to start with, is...
Topics: GitHub, code, software, git
How we measure #brands in Who's On First whosonfirst-brands-sizes How we measure #brands in Who's On First See also https://github.com/whosonfirst-data To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-whosonfirst-brands-sizes_-_2017-11-27_23-12-31/whosonfirst-whosonfirst-brands-sizes_-_2017-11-27_23-12-31.bundle and run: git clone whosonfirst-whosonfirst-brands-sizes_-_2017-11-27_23-12-31.bundle Source:...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 1
favorite 0
comment 0
None whosonfirst-www-api Setting up a local Elasticsearch index These are working notes so adjust your expectations accordingly. There is nothing whosonfirst-www-api specific about these instructions. It's just the first place we've written it all down... ./ubuntu/setup-elasticsearch.sh git clone git@github.com:whosonfirst/es-whosonfirst-schema.gitcd es-whosonfirst-schema/cat ./schema/mappings.spelunker.json | curl -XPUT 'http://localhost:9200/whosonfirst_20160708' -d @-curl -XPOST...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 2
favorite 0
comment 0
Go tools for converting XLSX files to CSV go-xlsx2csv Go tools for converting XLSX files to CSV Install You will need to have both Go (specifically a version of Go more recent than 1.6 so let's just assume you need Go 1.8 or higher) and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Caveats This is basically the same as @tealeg 's xlsx2csv program but uses the default...
Topics: GitHub, code, software, git
squeegee is a simple Dropwizard-based HTTP pony to convert SVG documents in to PNG files using the Batik SVG transcoder. java-dropwizard-squeegee squeegee is a simple Dropwizard-based HTTP pony to convert SVG documents in to PNG files using the Batik SVG transcoder. How to start the squeegee application Run mvn clean install to build your application Start application with java -jar target/squeegee-0.1.jar server config.yml To check that your application is running enter url...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 6
favorite 0
comment 0
whosonfirst.mapzen.com – it's a website. whosonfirst-www whosonfirst.mapzen.com – it's a website. What is going on in here? This is one of those static website generators, with lowest-common-denominator dependencies. The very short version is that a Makefile turns concatinates many smaller bits of HTML into a site structure that we can upload to the Internet. Makefile - a whole lotta curl and cat and sed that makes it all go. pages/ - each section of the site has its own sub-makefile (e.g.,...
Topics: GitHub, code, software, git, whosonfirst, mapzen
Go package for Who's On First related tasks using the Pinboard API. go-whosonfirst-pinboard Go package for Who's On First related tasks using the Pinboard API. Important Too soon. Move along. Install You will need to have both Go and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. What is the what? First of all, you shouldn't rely on any of the naming conventions yet. Not for...
Topics: GitHub, code, software, git
Python tools for doing GeoJSON related things with Who's On First data py-mapzen-whosonfirst-geojson Python tools for doing GeoJSON related things with Who's On First data Install sudo pip install -r requirements.txt . Usage mapzen.whosonfirst.geojson.encoder This is the primary (and so far only) use for this package. Basically it exists for two purposes: Ensure that the geometry property of GeoJSON features are not indented while everything else is Optionally ensure that coordinates are...
Topics: GitHub, code, software, git
Go package for working with Who's On First documents and SQLite databases. go-whosonfirst-sqlite Go package for working with Who's On First documents and SQLite databases. Install You will need to have both Go (specifically a version of Go more recent than 1.6 so let's just assume you need Go 1.8 or higher) and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Example Simple...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 11
favorite 0
comment 0
This is where we will think about time for Who's On First documents. Which is hard. Because it can not be denied... whosonfirst-dates This is where we will think about time. Which is hard. Because it can not be denied... EDTF The decision to use the Library of Congress' Extended Date/Time Format (EDTF)for dates in Who's On First has not^H^H^H^H almost been formalized. Generally, it seems like a goodidea. There are not many working implementations for handling EDTF date strings incode which is...
Topics: GitHub, code, software, git
Go package for doing IP address to Who's On First record lookups go-whosonfirst-iplookup Go package for doing IP address lookups with Who's On First "standard place results" Install You will need to have both Go (specifically a version of Go more recent than 1.6 so let's just assume you need Go 1.8 or higher) and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory....
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
None go-writer-tts Too soon. See also https://github.com/everdev/mack To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-go-writer-tts_-_2017-01-25_02-35-54/whosonfirst-go-writer-tts_-_2017-01-25_02-35-54.bundle and run: git clone whosonfirst-go-writer-tts_-_2017-01-25_02-35-54.bundle Source: https://github.com/whosonfirst/go-writer-tts Uploader: whosonfirst Upload date: 2017-01-25
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
A template Electron-based Mapzen API application. electron-mapzen-app A template Electron-based Mapzen API application. Mostly just the basic scaffolding for a simple app with hooks for toggling between multiple Mapzen API keys. Important Too soon. Move along. Install First of all you will need to have Git , Node.js and npm installed. On a Mac these are all easy to install with the Homebrew package manager. On Linux all the dependencies are available via tools like apt or yum . On Windows I'm...
Topics: GitHub, code, software, git
Bookmarks for Who's On First places. electron-whosonfirst-bookmarks Bookmarks for Who's On First places. Important This is wetter-than-wet paint. If you don't have the time or the inclination for a lot of unknown-unknowns and a measure of bad craziness then it's probably still "too soon". If you're up for some adventure then welcome! Install First of all you will need to have Git , Node.js and npm installed. On a Mac these are all easy to install with the Homebrew package manager. On...
Topics: GitHub, code, software, git
Who's On First specific things for Flamework-derived projects flamework-whosonfirst Who's On First specific things for Flamework-derived projects Important This is "wet paint". Please dress accordingly. Example In your project's Makefile you might include something like this: whosonfirst: curl -s -o www/include/lib_whosonfirst_placetypes.php https://raw.githubusercontent.com/whosonfirst/flamework-whosonfirst/master/www/include/lib_whosonfirst_placetypes.php curl -s -o...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 2
favorite 0
comment 0
Tools for working with KML files go-whosonfirst-kml Tools for working with KML files Install You will need to have both Go and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Tools kmltocsv There are many KML to CSV tools. This one is ours. Takes one or more KML files as inputs and outputs a CSV document (to STDOUT ) with the following headers:...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
A Go package for sending messages to a Slack channel using a standard io.Writer interface go-writer-slackcat A Go package for sending messages to a Slack channel using a standard io.Writer interface Usage Simple ```package main import ( "flag" "github.com/whosonfirst/go-writer" "strings") func main() { var config = flag.String("config", "", "The path to your Slackcat config file")flag.Parse()args := flag.Args()w, err :=...
Topics: GitHub, code, software, git
Shared utilities for working with Who's On First documents and Tile38 indices py-mapzen-whosonfirst-tile38 Shared utilities for working with Who's On First documents and Tile38 indices Install sudo pip install -r requirements.txt . Caveats This library is provided as-is, right now. It lacks properdocumentation which will probably make it hard for you to use unlessyou are willing to poke and around and investigate things on yourown. Usage Simple ```import mapzen.whosonfirst.tile38 client =...
Topics: GitHub, code, software, git
Python packages for talking to the Who's On First (spelunker) Elasticsearch index py-mapzen-whosonfirst-search Python packages for talking to the Who's On First (spelunker) Elasticsearch index Install sudo pip install -r requirements.txt . IMPORTANT This library is provided as-is, right now. It lacks properdocumentation which will probably make it hard for you to use unlessyou are willing to poke and around and investigate things on yourown. See also https://github.com/mapzen/theory-whosonfirst...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 1
favorite 0
comment 0
What is "Semantic Versioning" for Who's On First documents ? whosonfirst-semver What is "Semantic Versioning" for Who's On First documents ? Caveats This is a work in progress. We are still working through what this means. To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-whosonfirst-semver_-_2015-12-22_19-29-43/whosonfirst-whosonfirst-semver_-_2015-12-22_19-29-43.bundle and run: git clone...
Topics: GitHub, code, software, git
None whosonfirst-www-nearby To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-whosonfirst-www-nearby_-_2017-02-28_16-48-39/whosonfirst-whosonfirst-www-nearby_-_2017-02-28_16-48-39.bundle and run: git clone whosonfirst-whosonfirst-www-nearby_-_2017-02-28_16-48-39.bundle Source: https://github.com/whosonfirst/whosonfirst-www-nearby Uploader: whosonfirst Upload date: 2017-02-28
Topics: GitHub, code, software, git
None whosonfirst-screenshots Screenshots. To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-whosonfirst-screenshots_-_2017-12-31_17-57-47/whosonfirst-whosonfirst-screenshots_-_2017-12-31_17-57-47.bundle and run: git clone whosonfirst-whosonfirst-screenshots_-_2017-12-31_17-57-47.bundle Source: https://github.com/whosonfirst/whosonfirst-screenshots Uploader: whosonfirst Upload date: 2017-12-31
Topics: GitHub, code, software, git
None whosonfirst-www-maplibs Work in progress. To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-whosonfirst-www-maplibs_-_2016-09-29_18-38-34/whosonfirst-whosonfirst-www-maplibs_-_2016-09-29_18-38-34.bundle and run: git clone whosonfirst-whosonfirst-www-maplibs_-_2016-09-29_18-38-34.bundle Source: https://github.com/whosonfirst/whosonfirst-www-maplibs Uploader: whosonfirst Upload date: 2016-09-29
Topics: GitHub, code, software, git
Types of geometries in Who's On First, and their meaning. whosonfirst-geometries Types of geometries in Who's On First, and their meaning. Caveat This document should still be considered a work-in-progress Polygons This section (polygons) is out of date and needs to be updated to describe the syntax for "alt" geometries. See also: https://github.com/whosonfirst/whosonfirst-cookbook/blob/master/how to/creating alt geometries.md_ cloropleth consensus This is a placeholder label. It is a...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
Various tools and helper scripts for working with Who's On First data. whosonfirst-tools Various tools and helper scripts for working with Who's On First data. These are one-offs and things that don't necessarily need or deserve a dedicated package. scripts download-meta.py Download all the files listed in one or more meta files (from whosonfirst-data ) and store them locally. For example: ```$> download-meta.py --source http://whosonfirst.mapzen.com/data --dest /usr/local/mapzen/test...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
Tools for generating Who's On First sitemaps. whosonfirst-sitemaps Tools for generating Who's On First sitemaps. Tools wof-mk-sitemaps $> wof-mk-sitemaps -s ../sitemaps/ -u https://whosonfirst.mapzen.com/spelunker/sitemaps/ -H localhost -p 9200 -i whosonfirst wof-mk-sitemaps-index $> wof-mk-sitemaps-index -s ../sitemaps/ -u https://whosonfirst.mapzen.com/spelunker/sitemaps/ Example rm -f sitemaps/*.txtrm -f sitemaps/*.xml./bin/wof-mk-sitemaps -s ./sitemaps -u https://mapzen.com/places/ -H...
Topics: GitHub, code, software, git
Boundary Issues is a web-application for editing Who's On First data. whosonfirst-www-boundaryissues Boundary Issues is a web application for editing Who's On First data . Installing a dev environment Installing on a server Updating the Elasticsearch schema Shout-outs Ingrid Burrington To restore the repository download the bundle wget...
Topics: GitHub, code, software, git
Shared utilities for working with URIs for Who's On First documents py-mapzen-whosonfirst-uri Shared utilities for working with URIs for Who's On First documents Install sudo pip install -r requirements.txt . IMPORTANT This library is provided as-is, right now. It lacks properdocumentation which will probably make it hard for you to use unlessyou are willing to poke and around and investigate things on yourown. Usage Simple ```import mapzen.whosonfirst.uri...
Topics: GitHub, code, software, git
Tools for indexing and querying Who's On First concordances py-mapzen-whosonfirst-concordances Tools for indexing and querying Who's On First concordances in Postgres (though you could swap out the database library for any SQL database). IMPORTANT This library is provided as-is, right now. It lacks proper documentation which will probably make it hard for you to use unless you are willing to poke and around and investigate things on your own. Usage Indexing ``` import mapzen.whosonfirst.utils...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
Tools for deploying Flamework applications. flamework-deploy Tools for deploying Flamework applications. Important If you are looking for the version of flamework-deploy that used a variety of Python libraries and tools for deploying applications, it can be found over here: https://github.com/whosonfirst/flamework-deploy/releases/tag/1.0.0 Myles myles is the prefix for a series of make targets (defined in myles/Makefile ) for deploying Flamework applications. You can invoke them as-is or wrap...
Topics: GitHub, code, software, git
Relationships in Who's On First (see also: "All families are psychotic") whosonfirst-hierarchies Relationships in Who's On First (see also: "All families are psychotic") To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-whosonfirst-hierarchies_-_2015-09-03_18-18-38/whosonfirst-whosonfirst-hierarchies_-_2015-09-03_18-18-38.bundle and run: git clone whosonfirst-whosonfirst-hierarchies_-_2015-09-03_18-18-38.bundle Source:...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 5
favorite 0
comment 0
Tools and libraries for cloning (not syncing) Who's on First data to your local machine. go-whosonfirst-clone Tools and libraries for cloning (not syncing) Who's on First data to your local machine. This is still very much a work in progress so you might want to wait before using it. For the adventurous... Setup Go Install Go . There are package installers for Mac and Windows, and build from source options. https://golang.org/dl/ TIP: On Mac, verify your bash profile includes: export...
Topics: GitHub, code, software, git
Who's On First utilities for working with the lieu toolchain. py-mapzen-whosonfirst-lieu Who's On First utilities for working with the lieu toolchain. Install sudo pip install -r requirements.txt . IMPORTANT This library is provided as-is, right now. It lacks properdocumentation which will probably make it hard for you to use unlessyou are willing to poke and around and investigate things on yourown. See also https://github.com/openvenues/libpostal https://github.com/openvenues/lieu To restore...
Topics: GitHub, code, software, git
What things mean in Who's On First documents whosonfirst-properties Where things come from in Who's On First. Click here to see a full list of Who's On First property prefixes. Adding a new property Create a new property .json file using the template file . Fill out all required properties and optional properties, if available. Properties While a property .json file in the whosonfirst-properties repository does not require all properties listed below, the more information we are able to gather...
Topics: GitHub, code, software, git
Sort of like "geocorrections as a service". whosonfirst-www-youarehere Sort of like "geocorrections as a service". Caveats This is a from-scratch port of @straup's youarehere-www . It is probably too soon to try and use yet. To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-whosonfirst-www-youarehere_-_2016-02-19_23-59-24/whosonfirst-whosonfirst-www-youarehere_-_2016-02-19_23-59-24.bundle and run: git clone...
Topics: GitHub, code, software, git
A thin wrapper to make working with offline tasks a little more Flamework-like. flamework-offline-tasks A thin wrapper to make working with offline tasks a little more Flamework-like. Caveats This is not ready to use yet. See also https://github.com/whosonfirst/flamework To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-flamework-offline-tasks_-_2016-04-11_20-56-56/whosonfirst-flamework-offline-tasks_-_2016-04-11_20-56-56.bundle and run: git...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 1
favorite 0
comment 0
A thin wrapper on top of Predis to make doing things in Redis a little more Flamework-like. flamework-redis This is not a general purpose Redis library. Or at least it isn't yet. It is a thin wrapper on top of predis to make doing things in Redis a little more Flamework-like. Caveats This is not ready to use yet. See also https://github.com/whosonfirst/flamework https://github.com/nrk/predis To restore the repository download the bundle wget...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 4
favorite 0
comment 0
Utility functions for HTTP ponies written in Go. go-httpony Utility functions for HTTP ponies written in Go. Install make bin All the various dependencies have been included in the vendor directory. Usage CORS ```import ( "github.com/whosonfirst/go-httpony/cors" "net/http") endpoint := "localhost:8080"cors enable := truecors allow := "*" default_handler := func() { ... } http.Handler // this is a standard http.HandlerFunc so assume chaining etc. here cors...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 2
favorite 0
comment 0
There are many Redis packages. This one is ours. go-whosonfirst-redis Install You will need to have both Go and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Tools pubsubd ./bin/pubsubd -hUsage of ./bin/pubsubd: -debug Print all RESP commands to STDOUT. -host string The hostname to listen on. (default "localhost") -port int The port number to listen on. (default...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 1
favorite 0
comment 0
A Go port of the Flamework lib_sanitize library. go-sanitize A Go port of the Flamework lib_sanitize library. Example ```package main import ( "fmt" "sanitize" ) func main() { input := "foo bar\nbaz ok:'\u2318' bad:'\u0007' bad:'\u206E' woop woop" opts := sanitize.DefaultOptions() output, _ := sanitize.SanitizeString(input, opts) fmt.Println(output) } ``` See also https://github.com/exflickr/flamework/blob/master/www/include/lib_sanitize.php To restore the...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 5
favorite 0
comment 0
What is the simplest webhook-wrangling server-daemon-thing. go-webhookd What is the simplest webhook-wrangling server-daemon-thing. In many ways this is nothing more than a fancy bucket-brigade. By design. Receivers handle the actual webhook side of things, doing auth and basic sanity checking and validation. Assuming everything is as it should be receivers return a bag of bytes (the actual webhook message that may or may not be massaged depending the receiver). That bag is then handed to one...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 6
favorite 0
comment 0
Go package for working with Who's On First (Mapzen Places) API. go-whosonfirst-api Go package for working with the Who's On First (Mapzen Places) API . Install You will need to have both Go (specifically a version of Go more recent than 1.6 so let's just assume you need Go 1.8 or higher) and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Usage Note that all error handling in...
Topics: GitHub, code, software, git
None go-whosonfirst-lookup Too soon. To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-go-whosonfirst-lookup_-_2016-06-21_22-11-48/whosonfirst-go-whosonfirst-lookup_-_2016-06-21_22-11-48.bundle and run: git clone whosonfirst-go-whosonfirst-lookup_-_2016-06-21_22-11-48.bundle Source: https://github.com/whosonfirst/go-whosonfirst-lookup Uploader: whosonfirst Upload date: 2016-06-21
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
Go tools for working Who's On First "standard places responses" (SPR) go-whosonfirst-spr Go tools for working Who's On First "standard places responses" (SPR) Install You will need to have both Go (specifically a version of Go more recent than 1.6 so let's just assume you need Go 1.8 or higher) and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Important...
Topics: GitHub, code, software, git
A Go package for converting `year-month-day` expressions to and from 8-byte integers following the model of the CIDOC‐CRM Temporal representation specification. go-whosonfirst-temporal A Go package for converting year-month-day expressions to and from 8-byte integers modeled after the model of the CIDOC‐CRM Temporal representation specification. Caveats This package is under active development. It is incomplete and probably still has bugs. Among other things: This does not implement the...
Topics: GitHub, code, software, git
Python package for working with machine tags in Who's On First documents. py-mapzen-whosonfirst-machinetag Python package for working with machine tags in Who's On First documents Install sudo pip install -r requirements.txt . See also https://github.com/whosonfirst/py-machinetag To restore the repository download the bundle wget...
Topics: GitHub, code, software, git
Simple Python wrapper for Who's On First hierarchies. py-mapzen-whosonfirst-hierarchy Simple Python wrapper for Who's On First hierarchies. Usage This is all wet-paint. We are working out the details by "doing". The interfaces described below should be stable but please approach this with understanding and the expectation that changes might still be necessary. Spatial clients The first thing to know is that this package requires a spatial "client" or more specifically...
Topics: GitHub, code, software, git
Shared utilities for working with Who's On First documents py-mapzen-whosonfirst-utils Shared utilities for working with Who's On First documents Install sudo pip install -r requirements.txt . IMPORTANT This library is provided as-is, right now. It lacks properdocumentation which will probably make it hard for you to use unlessyou are willing to poke and around and investigate things on yourown. Installation The usual Python dance: sudo python setup.py install Usage The good stuff is in the...
Topics: GitHub, code, software, git
A small web application for displaying coordinates based on the position of the map. Plus Who's on First data, optionally. whosonfirst-www-iamhere whosonfirst-www-iamhere is a small web application for displaying coordinates based on the position of the map. Plus Who's on First data, optionally. Usage start.py - aka "fancy" mode in disguise From this directory run the bin/start.py command from the command line. This will start all the pieces needed to run whosonfirst-www-iamhere in...
Topics: GitHub, code, software, git
Crosshairs. For slippy maps. js-slippymap-crosshairs Crosshairs. For slippy maps. Usage var map = L.map('map');slippymap.crosshairs.init(map); slippymap.crosshairs will do three things: Add a slippymap-crosshairs div element as a child of the map element, which will draw a set of crosshairs in the center of the map Add a slippymap-coords div element as a sibling of the map element, which is where the coordinates for the map's current center point will be written Update both things as the window...
Topics: GitHub, code, software, git
Python library for working with Who's On First placetypes py-mapzen-whosonfirst-placetypes Install sudo pip install -r requirements.txt . Important The specification for placetypes is derived from the whosonfirst-placetypes package. For example: $> /usr/local/mapzen/whosonfirst-placetypes/bin/compile.py | python -mjson.tool { "102312307": { "name": "country", "names": {}, "parent": [ 102312335, 102312309 ], "role":...
Topics: GitHub, code, software, git
Python tools for working with Getty controlled vocabularies (and Who's On First data) py-mapzen-whosonfirst-getty Python tools for working with Getty controlled vocabularies (and Who's On First data) IMPORTANT This library is provided as-is, right now. It lacks properdocumentation which will probably make it hard for you to use unlessyou are willing to poke and around and investigate things on yourown. Also, this package currently suffers a bit of kitchen-sink-ism. That is it contains functions...
Topics: GitHub, code, software, git
None whosonfirst-www-photos To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-whosonfirst-www-photos_-_2016-10-17_16-20-23/whosonfirst-whosonfirst-www-photos_-_2016-10-17_16-20-23.bundle and run: git clone whosonfirst-whosonfirst-www-photos_-_2016-10-17_16-20-23.bundle Source: https://github.com/whosonfirst/whosonfirst-www-photos Uploader: whosonfirst Upload date: 2016-10-17
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 2
favorite 0
comment 0
A Go package for sending Redis PubSub messages using a standard io.Writer interface go-writer-pubsub A Go package for sending Redis PubSub messages using a standard io.Writer interface Usage ```package main import ( "flag" "github.com/whosonfirst/go-writer-pubsub" "strings" ) func main() { flag.Parse() args := flag.Args() var channel = flag.String("channel", "", "The PubSub channel to connect to") w, err := pubsub.NewWriter(*channel)...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 1
favorite 0
comment 0
whosonfirst.mapzen.com – it's a website. whosonfirst-www whosonfirst.mapzen.com – it's a website. What is going on in here? This is one of those static website generators, with lowest-common-denominator dependencies. The very short version is that a Makefile turns concatinates many smaller bits of HTML into a site structure that we can upload to the Internet. Makefile - a whole lotta curl and cat and sed that makes it all go. pages/ - each section of the site has its own sub-makefile (e.g.,...
Topics: GitHub, code, software, git
Simple Python utilities for working with Who's On First files and Git. py-mapzen-whosonfirst-git Simple Python utilities for working with Who's On First files and Git. Install sudo pip install -r requirements.txt . Caveats This is not a general purpose Git library. This is a library of helper methods specific to working with Who's On First documents and Git. To restore the repository download the bundle wget...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 2
favorite 0
comment 0
Go package for Who's On First www-related utilities. go-whosonfirst-www Go package for Who's On First www-related utilities. Install You will need to have both Go and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Tools wof-clone-website A bare bones tool for cloning a static website to S3. ./bin/wof-clone-website -strict -mime-type .yaml=text/x-yaml -s3-credentials...
Topics: GitHub, code, software, git
Make data stuctures Yes No Fix -able js-whosonfirst-yesnofix A little bit of Javascript love to make arbitrary data structures Yes No Fix -able. tl;dr Opinions and fact-checking. About stuff. As CSV documents. From any webpage. Or at least Who's On First Spelunker webpages. With code . How to use yesnofix.js The short version First grab a copy of the code from the js-mapzen-whosonfirst-yesnofix GitHub repository . Then add it to your webpages, like this: ``` ``` The simplest way to use...
Topics: GitHub, code, software, git
Python package for working with the Who's On First API py-mapzen-whosonfirst-api Python package for working with the Who's On First API. Install sudo pip install -r requirements.txt . Example Simple ```import mapzen.whosonfirst.api.client api = mapzen.whosonfirst.api.client.Mapzen("mapzen-XXXXXXX")print api.execute_method("api.spec.formats", {}) prints: {u'default_format': u'json', u'stat': u'ok', u'formats': [u'json', u'csv', u'meta']} ``` Fancy ```import...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 5
favorite 0
comment 0
Go tools for working with Who's On First documents go-whosonfirst-utils Go tools and utilities for working with Who's On First documents. Install You will need to have both Go and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Tools wof-cat Expand and concatenate one or more Who's On First IDs and print them to STDOUT . ./bin/wof-cat -hUsage of ./bin/wof-cat: -alternate...
Topics: GitHub, code, software, git
A Python package to generate Who's On First data bundles. py-mapzen-whosonfirst-bundles A Python package to generate Who's On First data bundles. Install sudo pip install -r requirements.txt . See also https://whosonfirst.mapzen.com/bundles/ To restore the repository download the bundle wget https://archive.org/download/github.com-whosonfirst-py-mapzen-whosonfirst-bundles_-_2017-03-22_00-16-59/whosonfirst-py-mapzen-whosonfirst-bundles_-_2017-03-22_00-16-59.bundle and run: git clone...
Topics: GitHub, code, software, git
An airport specific search engine for Airport City, using Who's On First data. go-airportcity-search An airport specific search engine for Airport City, using Who's On First data. Set up Use the handy Makefile for fetching dependencies and building the wof-airportcity-* binaries, like this: $> make depsif test -d pkg; then rm -rf pkg; figo get -u "github.com/blevesearch/bleve"go get -u "github.com/whosonfirst/go-whosonfirst-csv"go get -u...
Topics: GitHub, code, software, git
Python library for working with spatial databases (and services) and Who's On First documents. py-mapzen-whosonfirst-spatial Python library for working with spatial databases (and services) and Who's On First documents. Install sudo pip install -r requirements.txt . Caveats In an effort to make using this library in as broad a fashion as possible specific dependencies for the PostGIS "interfaces" have been excluded from the package's requirements.txt file because they depend on a...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 3
favorite 0
comment 0
Go package for working with Who's On First meta files go-whosonfirst-meta Go package for working with Who's On First meta files Install You will need to have both Go and the make programs installed on your computer. Assuming you do just type: make bin All of this package's dependencies are bundled with the code in the vendor directory. Tools wof-build-metafiles Crawl a Who's On First data repository and rebuild one or more meta files. $> wof-build-metafiles -hUsage of...
Topics: GitHub, code, software, git
Github Mirror by Narabot
software
eye 5
favorite 0
comment 0
Experimental in-memory database for CSV files. go-whosonfirst-csvdb Experimental in-memory database for CSV files. Caveats This is not sophisticated. It is not meant to be sophisticated. It is meant to be easy and fast. It might also be too soon for you to play with depending on how you feel about "things in flux". Things this package does not do yet (or maybe ever) in no particular order: Complex queries Query operators besides testing equality ( = ) Pagination - this package is...
Topics: GitHub, code, software, git