slippy
Version, currently main branch1 version
- main branchlatestMay 25, 2026
github.com/simonneutert/slippy-map-tilenames-api-service
Crystal and Kemal as a super fast API backend
Installation
# Add this to your shard.yml
dependencies:
slippy:
github: simonneutert/slippy-map-tilenames-api-service
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.20.2- License
- MIT
- Author
- Simon Neutert
- Target
slippyfrom src/slippy.cr
Dependencies
Runtime Dependencies
- kemal*github: kemalcr/kemal
- slippy_tiles*github: simonneutert/slippy_tiles
- kemal-session*github: kemalcr/kemal-session
Development Dependencies
- spec-kemal*github: kemalcr/spec-kemaldev
README
slippy
this is a tiny service you can use as a synchronous api service
it makes this crystal shard accessible via a REST API:
https://github.com/simonneutert/slippy_tiles
By default this service runs on http://0.0.0.0:3000
Installation
Have Crystal Lang in version 1.0 installed and fully working (OpenSSL and such).
Mac / OpenSSL / zsh
Mac/Zsh users might need to append this to ~/.zshrc
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl/lib/pkgconfig
Install project dependencies
$ shards install
Usage
Simply run this command:
$ crystal run src/slippy.cr
Build and Run in Production Mode
$ crystal build src/slippy.cr --release
https://stackoverflow.com/a/48845880
$ KEMAL_ENV=production ./slippy 3000
$ curl -i --header "Content-Type: application/json" --request POST --data '{"zoom": 14, "pois": [{"lat":50.0, "lng":8.0}, {"lat":50.0, "lng":8.0}, {"lat":51.0, "lng":8.0}]}' http://localhost:3000/geopoints
Development
- Crystal v1.x
- Kemal (kemalcr.com)
Run tests
$ KEMAL_ENV=test crystal spec
Contributing
- Fork it (https://github.com/simonneutert/slippy/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Simon Neutert - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- May 25, 2026
- Crystal
1.20.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/simonneutert/slippy-map-tilenames-api-service
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 22, 2026
- Synced
- Sep 22, 2026
- Versions
- 1