It's me, Zach!
npx zachlysobey
Assuming you have the GitHub registry set up, you can use via npx:
npx @zachlysobey/card
Not including how to use it globally because I'm not sure why you'd want this as a global command. That'd be creepy.
I left this stuff kind of a mess and never really considered the best approach. Its far enough along now that I should revisit this before adding any more features. At the very least I should reconsider the actions names and reducer set up. But I expect with some thought I'd come up with better abstractions for this stuff in general. And maybe redux is not the right tool for the job anyway.
This would usually be the first thing I set up, along with some tests. But for the sake of expediency...
This would make it unnecessary to do a lot of cd
-ing around which is a pain
This is actually kind of infuriating and I couldn't resolve in 2 minutes so I gave up. This is a necessary enhancement.
I think this would probably be pretty easy, and class this thing up a bit
This would allow for chat persistence even after the chat server shuts down.
been meaning to check out netlify. Or AWS/Azure/GCP are always a viable choice.
It'd be pretty trivial to drop this whole thing into a docker image.
This was my first go-code I've written. I spent a few minutes trying to refactor, but was stumbling around, and decided to bail on the effort. Its small enough that a few chunky methods and ugly code is acceptable to me, but this could really use some attention?
Currently each browser gets its own, isolated chat per websocket connection. This makes the chat kind of lame.
Since this is open source, might as well link back to GitHub
Tabbing over to the console and manually stopping/restarting the server sucks. The earlier I get a system for automating this the more time I'll save overall...
Using the same general mechanism as I did for the "<connected>"
messages, I can add special responses to the go server. Like... If you send "what time is it" the ChatBot can respond with the time, etc...
I didn't spend much time on code-style stuff, as it should be automated away. I should do this before going much further.
Previously, I've had to do some tricks to get tree-shaking working with Ramda
, so its likely there are issues that can be addressed for smaller bundle sizes.
If this was a real project, I should set a performance budget and some fitness tests.
This design was pretty emergent and I did not give it any real thought. Before going too much further with the client it makes sense perhaps to sit down and think about the design -- perhaps comparing it to existing projects, and generating some new issues for incremental steps to improve it.
It's be pretty easy to detect urls, and wrap 'em in <a>
and/or <img>
tags..
Per the original specifications:
- User can type any number of other messages that append to the window chat room and a message counter at top increments up as each message is added live
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.