websocat
sls-test-tools
Our great sponsors
websocat | sls-test-tools | |
---|---|---|
10 | 6 | |
6,491 | 187 | |
- | 0.0% | |
6.6 | 0.0 | |
9 days ago | about 1 year ago | |
Rust | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
websocat
-
Show HN: ScaleSocket – Turn any script into a multiplayer WebSocket server
It's similar to running netcat in server mode, wrapping a script. It's even closer to doing that using websocat [1], whereby one does not have to do the websocket header juggling.
The main difference is that while netcat or websocat will spawn a new process for each connecting client, ScaleSocket has a concept of rooms (channels). For a room, a process is spawned once only. All clients connecting to the same room are routed to the same process. This is not straight forward to do using the forementioned tools.
There's a small comparison page [2] where I have mentioned some alternative tools.
-
Ask HN: What was the best software that you used during 2022?
one combination I came to really love this year is babashka (https://github.com/babashka/babashka) + websocat (https://github.com/vi/websocat). I wrote about a method of live web programming with this pair at https://github.com/whacked/cow/blob/main/a%20technique%20for...
babashka isn't strictly necessary; you can also pipe plain text, but pushing hiccup expressions to the browser DOM from the REPL with instant feedback has opened a new world of interactive programming for me.
- GoLogin and python/selenium
- WebSockets in Curl
- Vi/websocat: Command-line client for WebSocket like netcat or curl
-
Realtime web-based MUD monitoring and control in tintin++ and mudlet
No... the core of it is a django instance in the cloud with a Vue front end (what you're seeing in the screen shot). To push data in, the client connects to a websocket (using https://github.com/vi/websocat) and push key/value pairs in. I'm not in the middle of gameplay at all.
- One Liner for streaming events from one relay to another
-
Testing the Async Cloud with AWS CDK
There's really nothing to this. I just have to provide the bus name and an optional pattern. Now using websocat, I get output like this:
- Netcat – All you need to know
-
Exploring the methods of looking into Ethereum’s transaction pool
Subscriptions is real-time streaming of data from server to client through WebSocket. You will need a constantly active connection to stream such events. You cannot use curl for this and have to use a WebSocket client like websocat if you want to access it via command line. Once executed, a stream of pending transaction IDs will start flowing in.
sls-test-tools
-
Easy Integration Tests for Event-Driven AWS Architectures with EventScout 📨🔭
Creating an EventBridge target to dump events to SQS. This approach was proposed in several articles (here and here) and implemented in the sls-test-tools library
-
The Best Integration Testing Library for Serverless Projects Now Supports Typescript!
How can you achieve that? 🤔 Using sls-test-tools 🏅
-
Testing AWS Step Functions flows
Check out the sls-test-tools as well. It is a great library. I'm using aws-testing-library because I'm used to it.
-
Integration testing tool for DynamoDB
Integration testing in serverless architectures can be challenging. Testing specific outcomes within managed services is cumbersome. sls-test-tools provides a range of utilities, setup, teardown and assertions to make it easier to write effective and high quality integration tests for Serverless Architectures on AWS.
-
Cloud Driven Development - Episode #001
sls-test-tools
-
Testing the Async Cloud with AWS CDK
When writing tests using something like aws-testing-library or sls-test-tools, we must have credentials to an AWS account that at least lets us send a few events and subscribe to or query the results in order to perform assertions. Depending on the stance of our organization about cloud access, this could be completely fine or it could be a never-gonna-happen dealbreaker. Often this kind of approach will be OK for a development environment, but it could be unlikely to fly in production.
What are some alternatives?
hurl - Hurl, run and test HTTP requests with plain text.
super-serverless-sample - Backend serverless que simula o sistema de votação do BBB
websocketd - Turn any program that uses STDIN/STDOUT into a WebSocket server. Like inetd, but for WebSockets.
aws-testing-library - Chai (https://chaijs.com) and Jest (https://jestjs.io/) assertions for testing services built with aws
web3.py - A python interface for interacting with the Ethereum blockchain and ecosystem.
aws-cdk-rfcs - RFCs for the AWS CDK
cdk-eventbridge-socket - CDK construct that creates a WebSocket endpoint for you for any EventBridge rule you are interested in. (Built for debugging + testing )
eventbridge-atlas - Open-source tool to document, discover, and share your Amazon EventBridge schemas.
warp-cors - warp-cors is a proxy server which enables CORS for the proxied request
s3-to-lambda-patterns - Example applications for the S3-to-Lambda patterns series in the AWS Compute Blog and learning path. Questions? @jbesw.
go-ethereum - Official Go implementation of the Ethereum protocol