Блог пользователя codemastercpp

Автор codemastercpp, история, 3 года назад, По-английски

Hello CF,

Update:

Just after releasing it I got busy and stopped working on it, but recently have made some changes:

  • Rooms are now using 128-but UUIDs, so no actual chances that anyone can invade ur room without your knowledge. Your previous rooms will still be usable tho

  • Large Code, Input and Output are supported now

  • Font Size is editable now

  • When a user joins a room, syncing is fixed

  • Live code sharing has been improved and now multiple people can write on different lines, but very fast typing and typing on same line can still cause issues :catThink:

  • Deployment procedure is also very easy now, so any changes in future will be refelected very soon in the actual website

So Yeah, in end it is much more usable alone than it is with many people in same room. Anyways, that's the update.


So recently I've been working on a little project which I think might be useful in CP as well, so this blog is to showcase it, it's open-source so if you like it, you can contribute as well.

Link: http://discode.southeastasia.cloudapp.azure.com/

Github: https://github.com/prince776/discode

Discode platform allows you to create rooms where you can code in an online IDE(Very similar to Sublime Text) and everyone who joins the room can see ur code live, they can also collaborate. There are also optional voice rooms that you can join for better collaboration. So some features of discord with live coding, hence discode.

This is an example of a room, as you can see a very similar setup to many sublime text users, so if your setup is not working or you're on a different system, you can code very easily here, c++ is C++ 17 so no worries. Hence I'm posting it here.

This is totally anonymous, so no need to sign up or anything just to compile code online, anyone can join any room, create any room, run any code, with no restrictions.

Your room history, theme, and language choice are stored for a better experience, but it's on the front end. Only the contents of the room are saved in a DB so you can access them later on.

Do try it and tell how you liked it, voice rooms don't work on firefox yet because navigator.mediaDevices is annoying, so if you know a fix, pls contribute.

P.S: This project might be the reason for my recent -150 delta:sadge:

  • Проголосовать: нравится
  • +98
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by codemastercpp (previous revision, new revision, compare).

»
3 года назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

This is really cool but I can randomly invade into anyone's room by just changing the number in the link!!

  • »
    »
    3 года назад, # ^ |
      Проголосовать: нравится +10 Проголосовать: не нравится

    Yes, that's intended, I can add support for private rooms but that'd require signup and stuff which I think most people are not interested in doing,

»
3 года назад, # |
Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

Amazing Project!

Minor Bug: Copy Room Link not working, when clicked, it copies //room/1

Suggestions:

It allows us to create multiple rooms with the same room name. Is this supposed to behave this way with duplicate entries? Though, I would understand since your URL is based on a number that keeps incrementing, and not based on the room name.

However, I feel a system with random alpha-numeric addition (slug) to the URL, like Google Meet or any URL shortener, (instead of the incrementing number approach, because right now, we could simply put any number below the current room number, and we can get access to the code and voice conversations), will help maintain privacy and no disruption or deletion of code.

Simply because the generated URL will be difficult to guess. And this way you might not need a way to authenticate a user, since the link will be only shared with the trusted users.

  • »
    »
    3 года назад, # ^ |
      Проголосовать: нравится +2 Проголосовать: не нравится

    Yes, I'll fix it soon, it happened because I changed base url during deployment

    I really like this next suggestion, will do it. orz

»
3 года назад, # |
Rev. 2   Проголосовать: нравится +13 Проголосовать: не нравится

Thank you for such an amazing project. I learnt so much while coding with my peers and a stranger with great sense of art.

Art
»
3 года назад, # |
  Проголосовать: нравится -7 Проголосовать: не нравится

Omg, Wow! Amazing work cmc saar.

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by codemastercpp (previous revision, new revision, compare).