PaulSec / Social-Markdown

"Dillinger.io clone" allowing live concurrent editing.
MIT License
10 stars 5 forks source link

No use of CDN ? #3

Open Phyks opened 10 years ago

Phyks commented 10 years ago

Hi,

Do you think you could include together.js in the repo and not use any external CDN ?

Thanks

PaulSec commented 10 years ago

Hi there,

Why would you like to include together.js script in the repo?

Here are the reasons why I wanted to use an external CDN:

However, I'm really open to suggestions, feel free!

Phyks commented 10 years ago

Actually, I get the point with hosting the script through their CDN. But, I'd like to have a single app to self-host, without any external queries.

I did not know how together.js works and just discovered that it needed a hub to work (actually, I thought it was kind of P2P system, based on WebRTC or so).

But it appears that together.js hub is not really difficult to self-host: https://togetherjs.com/docs/#hosting-the-hub-server

So I still think it could be nice to have an app without any external depency nor call.