Skip to content

Unified JSON web frontend #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

phantamanta44
Copy link
Contributor

@phantamanta44 phantamanta44 commented Apr 25, 2025

This PR:

  • adds support for options to the JSON web API
  • adds a small JS client library for consuming the web API
  • refactors the page renderer to embed page data as JSON which can be processed in client code (instead of raw HTML)

It doesn't address the wikidata caching issue yet; my plan is to redesign EvalM in gf-core as a monad transformer so that we can run wordnet in some kind of stateful monad that lets us keep track of pending and completed requests, which will help with both caching and with the previously-discussed bulk request idea

Of course, there is still more frontend stuff necessary to make the GFpedia templates work with the new system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants