All Projects → Archakov06 → Trycode

Archakov06 / Trycode

Licence: mit
Open-source realtime collaborative code editor on Babel, NodeJS, AngularJS, Socket.io, ACE - http://trycode.pw

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Trycode

AmigoChat-Realtime-Chat-Application
AmigoChat is a responsive real-time chat application built on MERN Stack and Socket io.
Stars: ✭ 22 (-42.11%)
Mutual labels:  websockets, socket-io
sudoku
Multiplayer concurrent sudoku. The winner is the player who fills the last cell correctly.
Stars: ✭ 15 (-60.53%)
Mutual labels:  websockets, socket-io
viper
Real-time tracking and analytics using Node.js and Socket.IO
Stars: ✭ 12 (-68.42%)
Mutual labels:  angularjs, websockets
Web Socket
Laravel library for asynchronously serving WebSockets.
Stars: ✭ 225 (+492.11%)
Mutual labels:  websockets, socket-io
Soqlbuilder
Node.js and AngularJs based Query Builder for Salesforce using OAuth2 and REST API
Stars: ✭ 37 (-2.63%)
Mutual labels:  heroku, angularjs
node-postgres
This application demonstrates database operations using PostgreSQL as a database, Heroku as platform, Node.js as language and Angularjs as javascript based MVC.
Stars: ✭ 18 (-52.63%)
Mutual labels:  heroku, angularjs
SocketIO Chat APP
This is the simple Chat Application in which user can join the room and continue chatting with others.
Stars: ✭ 50 (+31.58%)
Mutual labels:  heroku, socket-io
Sacrificial Socket
A Go websocket library with an API similar to Socket.IO... but not Socket.IO
Stars: ✭ 96 (+152.63%)
Mutual labels:  websockets, socket-io
Ember Websockets
Ember.js websockets and socket.io addon
Stars: ✭ 336 (+784.21%)
Mutual labels:  websockets, socket-io
Sockethub
A protocol gateway for the Web.
Stars: ✭ 329 (+765.79%)
Mutual labels:  websockets, socket-io
Codenames
Stars: ✭ 159 (+318.42%)
Mutual labels:  websockets, socket-io
Js Stack From Scratch
🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.
Stars: ✭ 18,814 (+49410.53%)
Mutual labels:  heroku, socket-io
Nodebb
Node.js based forum software built for the modern web
Stars: ✭ 12,303 (+32276.32%)
Mutual labels:  websockets, socket-io
ChartTheStockMarket
🔥 📈 💸 Chart the Stock Market - FCC Challenge
Stars: ✭ 39 (+2.63%)
Mutual labels:  heroku, socket-io
Tap Tap Adventure
Tap Tap Adventure is a massively online 2D MMORPG set in the medieval times with twists.
Stars: ✭ 123 (+223.68%)
Mutual labels:  websockets, socket-io
twitch-chat-visualizer
A Node.js Project. Would you like to see your chat stream with a custom design? This is for you!
Stars: ✭ 14 (-63.16%)
Mutual labels:  heroku, socket-io
Raztot
A simple DIY, browser controlled, RPi + WebRTC video streaming rover
Stars: ✭ 67 (+76.32%)
Mutual labels:  websockets, socket-io
Socket.io Tester
Deprecated: An electron app that lets you connect to a socket.io server and subscribe to a certain topic and/or lets you send socket messages to the server
Stars: ✭ 297 (+681.58%)
Mutual labels:  websockets, socket-io
Wssip
Application for capturing, modifying and sending custom WebSocket data from client to server and vice versa.
Stars: ✭ 373 (+881.58%)
Mutual labels:  websockets, socket-io
Vue Socket.io Extended
✌️⚡️ Socket.io bindings for Vue.js and Vuex (inspired by Vue-Socket.io)
Stars: ✭ 506 (+1231.58%)
Mutual labels:  websockets, socket-io

TryCode logo

Is an open-source realtime collaborative code editor with syntax highlighting. Perfect for: remote coding interviews and learning code for friends.

The server part is developed on NodeJS and using Socket.io libraries under the hood to support websockets for realtime collaboration. The client side use AngularJS v1.4.8, ACE and dollardom.js.

Join to Gitter TryCode if you have any questions. Join the chat at https://gitter.im/trycode-gitter/chat

Demo

Try out for yourself on the demo site here in Heroku: http://trycode.herokuapp.com/

TryCode in Safari

Installation

Clone the repository from Github

$ git clone https://github.com/Archakov06/trycode.git

To get your own TryCode running on Heroku, click the button below:

Deploy

Configuration

Before you run the application, you need to configure access to the database by writing setting in src/server/config.js and set OPTIONS.DEV (true / false. Developer mode is not finished.)

db = require('knex')({
	client: 'mysql',
	connection: {
		host       : options.DEV ? 'localhost' : 'eu-cdbr-west-01.cleardb.com',
		user       : options.DEV ? 'root' : 'cleardb_user',
		password   : options.DEV ? 'password' : 'cleardb_pass',
		database   : options.DEV ? 'trycode_db' : 'cleardb_dbname',
		socketPath : options.DEV ? '/Applications/MAMP/tmp/mysql/mysql.sock' : '', // I have OSX and need mysql.sock
		charset    : 'utf8',
	}
});

NPM Scripts

"scripts": {
    "start": "node ./dist/run.js",
    "build": "babel ./src/server -d ./dist",
    "run": "node ./dist/run.js",
    "build-run": "babel ./src/server -d ./dist && node ./dist/run.js",
    "sprite": "svg-sprite-generate -d public/img/svg -o public/img/sprites.svg"
  }

How to report bugs

Bugs should be files as issues on the github issue tracker at https://github.com/Archakov06/trycode/issues. Contact me via GitHub if you have issues, suggestions or need any help regarding this app. Note that the code is beta quality.

What for?

With the passage of the interview in one of the companies, I was offered to write code in collabedit.com. After using this online editor, I noticed that it works very badly and has a very sucks editor (it's uses "long polling" :facepalm:). Then I got the idea to realize a simple and convenient at the same time online code editor on the WebSockets.

P.S: Sorry for my lousy English :)

License

MIT License

Copyright (c) 2017 Archakov Dennis

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributing

Comming soon...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].