otto
Nominatim
otto | Nominatim | |
---|---|---|
9 | 35 | |
7,856 | 2,888 | |
- | 1.5% | |
5.0 | 9.5 | |
10 days ago | 2 days ago | |
Go | Python | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
otto
-
SSR React in Go
robertkrimen/otto
- A very simple javascript type system in golang
-
Jacobin: Minimal JVM written in Go and capable of running Java 17 classes
Ummm, excuse me, but where the f&$k has this been hiding? I’ve been looking for ways to extend my go applications with scripting support. I started with Lua (worked ) then Python (worked but hacky) then javascript using otto [1]. However it lacks ES6 support so having pretty OOP js code is a non-starter. I would love to have Java as a runtime that can be executed from goroutines.
[1] https://github.com/robertkrimen/otto
-
Running a Js file inside Go
Either call a JavaScript interpreter like node with exec.Command and read its stdout, or use a pure Go JavaScript interpreter like goja or otto.
-
Suggestion for a dynamic Struct Validation Rules
Otto https://github.com/robertkrimen/otto Seems interesting. It lets me call Go functions from inside JS as well as return results. The fncs pattern reminds me a bit of how the template engine works.
-
Wazero: The zero dependency WebAssembly runtime for Go developers
> why host other languages
Here's an example:
I recently finished building https://subzo.com.au which allows customizing and ordering 3D models. The way the model's cost, volume and other attributes are calculated needs to be done both on the frontend (for speed) and on the backend (to validate). Backend is in Go and we can't practically run Go in the browser. So instead, I wrote the calculation snippets in JavaScript (which runs natively in the browser) and ran them on the backend on a JavaScript VM library written in Go [1].
[1]: https://github.com/robertkrimen/otto
-
Choosing scripting extension - need advice
Googling suggests https://github.com/robertkrimen/otto which allows scripting in javascript for golang projects. This would be definitely enough, but in some way it may be a bit overkill - and scripts supporter shall need some knowledge of javascript which is not always straightforward :)
- I Need to Find an Apartment
-
I write my own web desktop OS for 3 years and this is what it looks like now
It doesn't make sense to ask the user (aka me) to change the code every time I want to modify any web apps right? So I decided to split the webapps into two parts. WebApps are those only require basic permissions and do not interact with the host OS. They will be run inside a sandbox created using ECMA5 VM called Otto. The other type is called Subservice, in which it will need extra permission to interact with the OS and require higher level of access to the backend file system.
Nominatim
-
Answer: How To Get Latitude & Longitude of a Address using python
You can simply use geopy API to get longitude and latitude from address. geopy includes geocoder classes for the OpenStreetMap Nominatim, Google Geocoding API (V3), and many other geocoding services. The full list is available on the Geocoders doc section. Geocoder classes are located in geopy.geocoders. Here…
- Nominatim: Open-source geocoding with OpenStreetMap data
-
Btreefs generates executable code at runtime to unpack btree nodes
I have had a lot of "fun" with this feature in the past. It has earned a permanent place in my setup script:
ALTER SYSTEM SET jit=off;
Basically a performance blackhole for more complex queries. Most OSM related projects disable it straight away as it only creates headaches.
https://github.com/osm-search/Nominatim/pull/2559
-
[Help] searching address
Because osm.org and OsmAnd use different search engines. On osm.org it uses the Nominatim geocoder which is good at parsing addresses the way we are used to writing them. It is also running on a server with a lot of storage and memory resources. OsmAnd is built for offline use so it can't use Nominatim and has much more limited computing resources available to it. It is searching through the map files locally on your phone and however they have chosen to implement that search algorithm seems to perform poorly on addresses.
-
Kako riješiti različite verzije istih adresa ulica?
Ako skupa s adresama imaš i njihove lokacije možeš i koristiti gotov geocoder (e.g. Nominatim je free i koristi OSM podatke, možeš i deployati svoju instancu), pa iz rezultata naći geometrijski najbližu adresu koju imaš.
-
Let's build a Google Maps clone with React, Leaflet, and OneSDK
Then implement a use case. We are going to use Geocoding use case with Nominatim provider. But you can, of course, use a different provider. Copy the example code into your server.js file and make a few changes, so we can send the information we will receive from the user:
-
MicroG Qs
There are reasons why this tech was developed: because GPS can take a long time to sync up to the satellites, because GPS often doesn't work indoors, because your phone can keep a local cache of locations, and so you have the ability to find places by name or address (Geocoding) using nominatim ( https://nominatim.org )
-
Digital prepping must haves?
and nominatim which does the geocoding/reverse geocoding: https://nominatim.org/
- Bulk/batch geocoding for cheap?
-
How do I go about with this project idea
Then it depends on how the location data is conveyed in the group chat. If it's a text message you need to parse it and possibly use a mapping service to do geocoding. Eg. convert "22 Main Street" or "upper Brooklyn" into GPS coordinates. Besides Google Maps API you can maybe use OpenStreetMaps via Nominatim. If it's something more like "we just passed John's house" then you need to figure out how to write some logic to determine a location from that. Or maybe they just used the WhatsApp location share feature, then you probably don't need mapping at all.
What are some alternatives?
goja - ECMAScript/JavaScript engine in pure Go
photon - an open source geocoder for openstreetmap data
go-duktape - [abandoned] Duktape JavaScript engine bindings for Go
Open Source Routing Machine (OSRM) - Open Source Routing Machine - C++ backend
gopher-lua - GopherLua: VM and compiler for Lua in Go
TileServer GL - Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
tengo - A fast script language for Go
OsmAnd - OsmAnd
go-php - PHP bindings for the Go programming language (Golang)
OpenTripPlanner - An open source multi-modal trip planner
go-lua - A Lua VM in Go
μlogger - μlogger • web viewer for tracks uploaded with μlogger mobile client