Skip to content
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

add web-api #134

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

add web-api #134

wants to merge 1 commit into from

Conversation

technocake
Copy link
Owner

Adds a flask web api for goto commands.

Setup:

  • edit /etc/hosts to include an entry for goto that points to localhost.
  • (for now) turn off search from input field in browser: https://support.mozilla.org/gu-IN/questions/1359116
    This will not be required when we release, but is a quick hack to make it work now.

Alternativedly you gould add a tld to your localhost pointer: go.to for instance.

To start: poetry run api/web.py

Commands:

goto/map
Equivalent of goto list - shows the list of shortcuts. Also displays current project context.

goto/<magicword> Does what you think it does.

goto/<magicword>/<project> Goes to another project context' magicword.

goto/project/<project> changes active project context to

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.

None yet

1 participant