exotech-code / inter-net Goto Github PK
View Code? Open in Web Editor NEWCyberpunk website for massive online chatting
License: MIT License
Cyberpunk website for massive online chatting
License: MIT License
We need to change the font size according to device screen size.
I need to add a function that checks for cookies on page load and refreshes their expiration date. I need to create a cookie
object for that.
There is a problem with text input box. It Changes color after loading the webpage. It shouldn't do that. It should animate only after it loses focus.
I've made a temporary fix that uses a code snippet from the message handler.
if (message) {
messages.push(message);
// temporary console log
console.log('amount of messages currently in array: ' + messages.length);
renderMessages(messages);
};
But this shouldn't be that way. Somehow weather function isn't changing the message variable even though it has global scope. We should think of a better solution.
We should add a user count that adds +1 on every new connection.
I need to change some if statements to switch statements.
For example:
switch (message) { case (command.check('username')): // do something }
Client should send a list of messages to the server and then the server according to the contents of that list will decide if it should send the whole list again.
fire array.lenght
We should make a command that displays connected user count.
Something like this:
socket.on("connect" => {userCount ++;})
So I cannot get the message object to function, because when I send a POST request to the server it outputs 'undefined'. I have no idea what could cause this error. FUCK.
We should move the frontend to React to make adding new features easier in the future.
Right now the website isn't dynamically resizing to the device size. We should change the units that we're using to relative like vw
for example. And also while we're at it let's change from css to Sass, because I think that the variables feature will help us a lot.
People can make html tags now, which can potentially crash the website. We have to remove the option of using them.
Now weather command output is case insensitive so it outputs the same prompt but with variables changed. I want it to output everything in proper English. It does seem like a easy feature to implement. Just some if statements and string replacements.
Usernames that have the same value as commands should be dissallowed.
We need to create a automatically generated JavaScript "user" parameter on the server side that holds a generated 4 digit user id. It should then be assigned to the message object being sent by the user. New user id should be put into a cookie file. cokkies in JavaScript
This is the most important step. We need to make a backend in node.js that receives text messages, assigns user id to every new user and sends messages to all connected clients. We will use a list of message objects with user id property and message contents property.
For google search positioning. For example: <meta name="description" content="some content" />
We need to add automatic scrolling to the bottom if a new message pops up. And also the current scrollbar looks like shit. Let's change it ASAP!
If link does not contain http://
then throw an error.
Make it so that messages with no username cannot be sent.
We need to create a piece of code for the client that gets user input and sends it to the server via web sockets.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.