espace Posted September 1, 2016 Share Posted September 1, 2016 Hey, I receive a mail today : end of sharing html link via dropbox on oktober ! It was so easy to visualize my games on phones ! Is someone have a cloud solution on linux that permits the share of html link ? Quote Link to comment Share on other sites More sharing options...
symof Posted September 1, 2016 Share Posted September 1, 2016 You can use Google drive. https://support.google.com/drive/answer/2881970?hl=en Or you can just rent your own VPS? You can get some for as low as 5£ https://www.bhost.net EDIT: I personally use netbeans IDE, and USB debuging enabled on my phone to test stuff out. Netbeans has a builtin server and you can view the edits in real time without the need to upload to a sever. https://netbeans.org/features/index.html Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted September 1, 2016 Share Posted September 1, 2016 2 hours ago, symof said: You can use Google drive. https://support.google.com/drive/answer/2881970?hl=en But it not available today: Quote Note: This feature will not be available after August 31, 2016. You can host webpages with Google Drive until August 31, 2016. After that, googledrive.com/host/ID will no longer work. Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted September 1, 2016 Share Posted September 1, 2016 You can use gihub hosting: https://pages.github.com/ Quote Link to comment Share on other sites More sharing options...
symof Posted September 1, 2016 Share Posted September 1, 2016 2 hours ago, 8Observer8 said: But it not available today: https://firebase.google.com/pricing/ https://firebase.google.com/docs/hosting/quickstart They just changed the app, they still offer free hosting. stay and 8Observer8 2 Quote Link to comment Share on other sites More sharing options...
kuuuurija Posted September 2, 2016 Share Posted September 2, 2016 you can use https://neocities.org/ Quote Link to comment Share on other sites More sharing options...
skinwalker Posted September 3, 2016 Share Posted September 3, 2016 Also you can use github Quote Link to comment Share on other sites More sharing options...
espace Posted September 4, 2016 Author Share Posted September 4, 2016 Thanks everybody for your assist. It's done today with github and Oli Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted September 6, 2016 Share Posted September 6, 2016 If you need a server side scripts you can use http://heroku.com/ You can create 5 free apps. For example you can use the server side scripting in JavaScript Node.js: https://devcenter.heroku.com/articles/getting-started-with-nodejs You need put your client side scripts in "public" folder ./ ./server.js ./public/index.html ./public/network.js server.js: var express = require("express"); var app = express(); var http = require("http").Server(app); var port = process.env.PORT || 3000; http.listen(port, function () { console.log("Listening on ", port); }); If you want to use socket.io multiplayer: var express = require("express"); var app = express(); var http = require("http").Server(app); var io = require("socket.io")(http); var shortid = require("shortid"); app.use(express.static(__dirname + "/public")); var players = []; io.on("connection", function (socket) { var thisPlayerId = shortid.generate(); var player = { id: thisPlayerId, x: 0, y: 0 }; players[thisPlayerId] = player; console.log("client connected, broadcasting spawn, id: ", thisPlayerId); socket.broadcast.emit("spawn", { id: thisPlayerId }); // ... socket.on("disconnect", function () { console.log("client disconnected"); socket.broadcast.emit("disconnected", { id: thisPlayerId }); delete players[thisPlayerId]; //players.splice(players.indexOf(thisPlayerId), 1); }); // ... }); var port = process.env.PORT || 3000; http.listen(port, function () { console.log("Listening on ", port); }); Quote Link to comment Share on other sites More sharing options...
-AAG- Posted September 7, 2016 Share Posted September 7, 2016 I went and did another thread about the same thing, should have looked first, sorry about that. So many suggestions here. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.