workers-chat-demo
amfora
workers-chat-demo | amfora | |
---|---|---|
6 | 28 | |
800 | 1,096 | |
2.8% | - | |
4.2 | 5.9 | |
about 2 months ago | 14 days ago | |
JavaScript | Go | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
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.
workers-chat-demo
-
asyncio + multiprocessing. Issues with pickling complex python objects.
This idea was also sparked from cloudflares chat room example using something on their platform the call durable objects. But instead of offloading each chat room to a durable object I wanted to try to offload it to a process.
-
When Serverless really shines (and when to avoid it)
If you want to see a code example of a stateful serverless worker, this durable object chat demo is kinda neat: https://github.com/cloudflare/workers-chat-demo
-
Ask HN: What's a global, low throughput, low latency message bus
If you wanted something where you could get pretty far without spending any money, Cloudflare Workers + Durable Objects would be an interesting path. You would have to implement some of the functionality yourself, but there are some examples.
Like this example chat app: https://github.com/cloudflare/workers-chat-demo/blob/master/... It supports private chat rooms, which is somewhat analogous to a pub sub topic.
- OAuth with Cloudflare Workers on a Statically Generated Site
-
Cloudflare’s Pace of Innovation
Durable Objects[0] let you store data on the edge and provide a lot more than a key/value store. This is a primitive you could build arbitrary databases on top of.
The edge chat demo[1] is a working, scalable real-time chat service hosted entirely on the edge using Workers + Durable Objects, even featuring per-user cross-room rate limiting. As written, it can support millions of chat rooms and users, and it's about 500 lines of code.[2]
The benefit here is that it's much easier to build scalable distributed systems on Workers and Durable Objects than on other platforms. The fact that they run on the edge as close to end users as possible is just a bonus.
[0] https://blog.cloudflare.com/introducing-workers-durable-obje...
[1] https://edge-chat-demo.cloudflareworkers.com/
[2] https://github.com/cloudflare/workers-chat-demo/blob/master/...
(Disclosure: I'm the tech lead for Cloudflare Workers.)
-
DoS Attacks against my Online Game
Have you looked into using a serverless pub/sub model, like Cloudflare's Workers KV? The example they give is a simple IRC-like distributed chatroom (https://github.com/cloudflare/workers-chat-demo), but theoretically it may work for games too.
Player state can be stored in a decentralized key-value store that Cloudflare manages. They absorb all the DDoS and handle replication between edge nodes. You don't see any of that. https://www.cloudflare.com/products/workers-kv/
Or maybe it was their Durable Objects product... I forget how that's different from Workers KV: https://developers.cloudflare.com/workers/learning/using-dur...
Then each game client uses a worker to access that KV, and Cloudflare will route that worker to its nearest edge node and retrieve the state from there (which was previously replicated a moment ago, internal to Cloudflare's infrastructure).
https://workers.cloudflare.com/
I don't know if this would result in acceptable latency, but it could help with DDOS at least.
amfora
-
The Right to Lie and Google’s “Web Environment Integrity”
Gemini is a joke. The main proponents like Drew Devault chuck a tantrum when browsers allow users to optionally show favicons https://github.com/makew0rld/amfora/issues/199
-
The Gemini protocol as seen by curl maintainer
https://github.com/makew0rld/amfora/issues/199
- Text Only News Websites
- Gemini over tor?
-
ruleminder
You'll need a different web browser since Firefox and Chrome based Browsers all only support HTTP/HTTPS afaik. I suggest using deedum if you're on Android, if you're on windows I suggest installing this browser, it's a more or less simple graphical Browser written in C# so it should work. Just download the release zip and extract, you can probably go from there., if you're on Linux, I suggest Amfora it's a text based browser but it has served me well.
-
amfora VS astro - a user suggested alternative
2 projects | 16 Sep 2022
-
Kyoto framework is moving to sr.ht from GitHub
And that's the caveat with SourceHut and the current discussion around it. While I respect Drew and his work, he isn't exactly the most approachable person in OSS.
If you and several other people happen to have a hard requirement for a specific feature that he (or his buddy Simon) don't see fit for, you won't get that feature, even if you volunteer to implement and maintain it. The only thing you're left with is basically to fork SourceHut, host it yourself and maintain your feature all by yourself, dealing with continuously patching a very much still-in-development (and therefore ever changing) software. That is something you're probably not going to do, especially considering SourceHut's architecture and way of doing things.
SourceHut isn't exactly extensible/pluggable and hosting it as a one man show or even a small company becomes a huge PITA, as soon as you diverge from the holy grail that is Drew's way of doing things (Alpine, no containers, no good config management, no easy way to scale things, and the dedication to invest your blood and tears into maintaining this thing).
Hence I really cannot comprehend the current trend that is "let's all dump GitHub for this, and that, and SourceHut". So far, SourceHut really hasn't made an effort to prove itself worthy of the influx of OSS projects. And while I do see Drew commenting here, reassuring folks he won't ban anyone over any internet disagreement, reading the public mailing lists of the SourceHut repos doesn't really show much of a welcoming behavior either. I mean, he's the person behind what has become one of the most popular Gemini servers, and as soon as that was the case, he began threatening client apps to arbitrary block them for doing things that don't align with his values (in this case, [showing a favicon](https://github.com/makeworld-the-better-one/amfora/issues/19...)). And the cabal of elite internet Amish, that have been on SourceHut since its early days and that makes a large portion of the platform, aren't that different either.
I do agree with GitHub being the wrong place for OSS projects, but I don't agree with SourceHut being the right one. At least for as long as it doesn't become obvious that its founder and the community around him has changed and started to genuinely appreciate people for the work they're doing, regardless of their own ideological beliefs.
-
Bleh
I use Sway and I pay to host my code on SourceHut. I admire Drew and I think he is making invaluable contributions to FOSS.
That said, he has a history of... rash? impulsive? reactions to situations that might have been resolved with less bad blood if he had stepped away from the keyboard until he was less upset. The classic example is when he got upset about people wanting to unofficially add favicons to the Gemini protocol, and he threatened to blackhole any IP address which requests a favicon. https://github.com/makeworld-the-better-one/amfora/issues/19...
I do not know if there is some specific recent event triggering vitriol, but the way this post is written, it sounds like Drew thinks it is resulting from less recent actions like the favicon threat.
In Drew's defense, he has made (limited) apologies and I do believe he is trying to do better. https://drewdevault.com/2021/04/26/Cryptocurrency-is-a-disas... has a note at the bottom, saying:
> I realize that my blog has been a source of a lot of negativity in the past, and I regret how harsh I've been with some of the projects I've criticised. I will make my arguments by example going forward: if I think we can do better, I'll do it better, instead of criticising those who are just earnestly trying their best.
But it is also true that many people will not be quick to forgive him, and some people never will. It will take him time to undo the negative image he has created with some people, but after seeing Linus Torvald's positive changes, I am optimistic that Drew can change for the better if he wants to, and help create a welcoming community for everyone. If he doesn't give up first.
-
[NetBSD]
amfora gemini client
-
got Linux running on a dell inspiron 8100 antix is the only distro that would show a display and that supported 32bit systems
Should be able to run a basic gemini client just fine, maybe even amfora?
What are some alternatives?
miniflare - 🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
awesome-gemini - A collection of awesome things regarding the gemini protocol ecosystem.
quilkin - Quilkin is a non-transparent UDP proxy specifically designed for use with large scale multiplayer dedicated game server deployments, to ensure security, access control, telemetry data, metrics and more.
hydepark - Forum application for Gemini space
krustlet - Kubernetes Rust Kubelet
Go IPFS - IPFS implementation in Go [Moved to: https://github.com/ipfs/kubo]
Sprocket
lagrange - A Beautiful Gemini Client
e2core - Server for sandboxed third-party plugins, powered by WebAssembly
wrangler-legacy - 🤠 Home to Wrangler v1 (deprecated)
cli - GitHub’s official command line tool