Comments (5)
Thanks!
I think, reality-based extension can be really cool, though I'm not sure which approach could be possibly used:
- either complete port of Reality (and underlying libraries) to JavaScript (this way potential extension does everything on itself: fetches data from Wikipedia/Wikidata/other sources, parses it and displays);
- provide some reality-powered server proxy, so the extension could just do
GET proxy?entity=France
and receive pretty json.
The former solution requires a lot of coding (infoboxer library, which Reality relies on for Wikipedia parsing, is 3.5k code lines, several monthes of work and pretty complicated parsing logic).
The latter could be easier, but requires some free/paid server, devops and maintanance tasks.
So, I'm open for proposals but have not enough resource to do it myself :)
from reality.
I can make a simple app which will eval input string. Also, it can work as API for browser extension. Should be easy and I can support it. Puma server can handle quite a lot of requests in parallel so we can stay on a free plan for a while.
from reality.
browser extension is kind of cool because there is a built-in way to store a config. So if you want to use Extra you can add API tokens on plugin settings page and they can be sent on each request
from reality.
I think server/proxy route is probably the way to go.Caching this can go a long way.
from reality.
I totally like the idea, but currently am not ready to do hosting/devops for this.
Have no objections if somebody will :)
from reality.
Related Issues (20)
- Interest in a CLI HOT 14
- Entity caching
- IRuby Notebook integration HOT 1
- Entity#to_h
- TZOffset parsing bug
- Disambiguator
- More Wikidata predicates HOT 6
- Wikidata predicate flexibility
- More lists in Dictionaries
- More Wikipedia types by infobox
- Idea: Default to Wikidata label search if no Wikipedia article found HOT 3
- Integration with wit.ai HOT 1
- Entity#non_existent_attribute should raise NoMethodError HOT 4
- Refactor lib/reality/wikidata.rb
- Cleanup about method inclusion HOT 1
- Extras: OpenStreetMap
- For Measure the gem Unitwise could be very efficient. HOT 1
- undefined method 'config' for reality HOT 1
- Error loading particular Wikidata item HOT 2
- Can't load 'miracles' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reality.