A Meteor Desktop Application?

I definitely feel as though it should allow for entirely stand-alone operation; ie. server & client in one (as @ihistand mentioned) and also just as a client pointing to a remote server.

You might ask why would you want a client on a desktop and not want it on the web; back-end administration applications is the main use-case I forsee.

I have a desktop meteor app running in https://github.com/MacGapProject/MacGap2 which I managed to get going with pretty easilyā€¦ Iā€™ll put up an example repo.

2 Likes

Hey guys, I put together an example with build tools using the leaderboard exampleā€¦

https://github.com/meteorhybrid/mac

@slava I might need your help on a few things haha

10 Likes

@jmorgan Does that mean after the first version, you switched from meteor to something else. If so, why? We community can lean from any pain points you guys went through.

@andrewreedy Got it up and running, :open_mouth: mind blown! Thanks for putting this together, very promising indeed!

NP, working on an easier solution for nw.js and atom-shell as well

2 Likes

thatā€™d be really cool. Iā€™d love to try to make a game using WebGL and JavaScript on a native client!

2 Likes

the new discussion board really helps a lot.

I can imagine something like this:

Free version of the app is atom-shell + meteor to use it offline.

The premium version is basically a meteor server for rent, to store your data in the cloud and share it with others.

While still being able to use it offline :smile:

1 Like

this helped so much, thank you for that. I managed to get it running with WebGL!

this was so very helpfulā€¦ thank you.

What about this solution? https://github.com/sigmeus/meteor-desktop-app
Edit: This solution in fact seems to be based on parts of Kitematic as well.

Maybe this or some similar solution could be enhaced in future. Meteor desktop applications could potentially replace many real desktop applications.

1 Like

Hi everyone. I found this thread because we are building an application that should be able to work online and offline.
I reproduced the steps in here with the sample todos app and got it working. But when I try to connect to the server changing this line in index.html

ā€œDDP_DEFAULT_CONNECTION_URLā€: ā€œmy.server.com:3000ā€

The browser start to reload the page all the time. I get to see the To-Do lists and items for a fraction of a second before the page reloads, so it seems that the connection to the server is actually working and local collections are getting populated.

Any Ideas on how to stop this from happening? Thanks!

UPDATE

Fixed it borrowing using this repo as reference. The key is removing the autoupdate package included in from meteor-platform package. Now the client application boots and works as expected.

New edition of Atom Shell, Electron:

4 Likes

Very interesting, Iā€™d love to see an implementation of a Meteor desktop app using Electron, with itā€™s cross-platform support it could be exactly what we need to get this into reality.

1 Like

@spicemix, do you know if anyone has gotten and Electron app working?

1 Like

Iā€™m currently working on a desktop app using Electron.

3 Likes

Ok I did a client app with Electron and here is the tutorial : https://medium.com/@guidouil/cross-platform-desktop-apps-with-meteor-and-electron-5355eb9e351
Itā€™s only the bases but it does work :slight_smile:

9 Likes

Hereā€™s what Iā€™ve been working on guys!

14 Likes

Thanks @guidouil, you just donā€™t know all the possibilities that your little tutorial opened up for me!

1 Like

Charles your framework is fantastic, I used it to develop a game in Meteor, a small scale multiplayer game with accounts and everything, it was incredibly rapid to get started.

I think there might be a future for Meteor as a game development platform, given itā€™s very easy to build on top of and create addons for. You can alter the user interface with plain HTML and event hooks so easily

1 Like