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

Building the golang IDE gui for Web, Mobile and Desktop. #15

Open
gedw99 opened this issue Aug 6, 2021 · 1 comment
Open

Building the golang IDE gui for Web, Mobile and Desktop. #15

gedw99 opened this issue Aug 6, 2021 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Aug 6, 2021

The current way hackpad is building the GUI using go and wasm is nice.

It just occurred to me that it's possible to do the same using gio. It compiles to Browser ( as wasm ), Desktop and mobile ( as native ).

Web site: https://gioui.org
Code: https://github.com/gioui

Live Example :https://gioui.org/files/wasm/kitchen/index.html

I am positive that most of what the IDE does currently can easily work with hackpad. The port would not be painful.
The examples show more than what your currently doing...

Some examples.

https://github.com/JackMordaunt/kanban

  • a typical kanban gui
  • desktop and mobile work, but web wont because boltdb is used for the DB.

https://github.com/gioverse/chat

  • a typical chat gui.

https://github.com/planetdecred/godcr

  • a large gui app for block chain things

For DB your indexeddb looks like a good match for Genji.

https://github.com/genjidb/genji
Genji supports Web, Desktop and Mobile. but for Web it uses InMemory

So you IndexedDB would be another driver for Genji. See:
https://github.com/genjidb/genji.js/blob/master/src/bindings/main.go

I used genji for 6 months, and was great. Got it snapshotting to S3 also. Used it for Server, Desktop and Mobile.

Please feel free to ask me if your curious..

@gedw99 gedw99 changed the title Building the glang gui for Web, Mobile and Desktop. Building the golang IDE gui for Web, Mobile and Desktop. Aug 6, 2021
@JohnStarich
Copy link
Collaborator

Thanks for the suggestions! Once the kernel refactors (#11) are closer to completion I may look into other solutions like these some more.

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

No branches or pull requests

2 participants