Cool GitHub Projects

Kuvwert , in WebX: An alternative for the World Wide Web - browse websites such as buss://yippie.rizz made in HTML, CSS and Lua. Custom web browser, custom HTML rendering engine, custom search eng

What problem is this solving?

Psyhackological OP , in Awesome Android Apps - my curated list of ~250 apps

Cross-posted also on:

Kissaki , in twitch-tui: Twitch chat in the terminal

How does it display emotes in the terminal? Does it include FFZ, 7tv, BTTV emotes?

Andromxda OP ,
@Andromxda@lemmy.dbzer0.com avatar

It uses the Kitty Graphics Protocol to display images.

Emotes

Use a terminal that fully supports the graphics protocol, such as kitty or WezTerm.

Enable the emotes by setting twitch_emotes, betterttv_emotes and/or seventv_emotes to true.

The emotes will be downloaded to ~/.cache/twt/ on Linux/MacOs and %appdata%\twt\cache\ on Windows.

Source: https://xithrius.github.io/twitch-tui/guide/configuration.html#emotes

Kissaki ,

Is that limited to the kitty terminal? I don't see any compatibility notes on Kitty Graphics Protocol nor your TUI project - which given the TUI label I would expect to work on any terminal?

techwizrd ,

The kitty terminal graphics protocol is implemented by kitty, WezTerm, Konsole, and others I believe.

Andromxda OP ,
@Andromxda@lemmy.dbzer0.com avatar

It does work in any terminal, but the emoji support is limited to terminals that implement this graphics API.

Iceblade02 , in Ibis: A federated, ActivityPub-based alternative to Wikipedia

Whilst cool, I don't really think the problem in the case of wikipedia is that it needs a different platform.

sudo , in Ibis: A federated, ActivityPub-based alternative to Wikipedia

Imagine if wikipedia editor wars could be ended with defederation.

shnizmuffin , in Ibis: A federated, ActivityPub-based alternative to Wikipedia
@shnizmuffin@lemmy.inbutts.lol avatar

I would describe this as an uncool GitHub project. Federation isn't the answer to every problem.

pop ,

What do you think crowdsourcing is?

Federating knowledge sourcing/entry/moderation (without a central authority) to the users is what made Wikipedia what it is today.

Kissaki , in Ibis: A federated, ActivityPub-based alternative to Wikipedia

I don't see how it solves the mentioned issues. Instead, federation introduces new issues of complexity, multi-layered moderation, and potential for distributed inefficiency, confusion, or more malicious attacks.

I think we can see on Lemmy some of the problems it introduces. But for an Encyclopedia, which is supposed to be a source of truth, I think it's much worse.

If you depend on instance admins as curators, it's not that different from Wikipedia roles, which at least has open governance and elections.

They say other projects didn't reach critical mass. I don't think spreading your contributors thin - even while connecting them to some dynamic degree - is how you reach critical mass.

aBundleOfFerrets , in 7 best open-source chart libraries for developers

ew why is it all javascript

SplashJackson , in Grimoire: Bookmark manager for the wizards 🧙

I have no idea what this does, but then again, I tie shoes for a living

hardkorebob , in An interactive TUI app that gives a brief tour of the `GNU awk` command for beginners

Hey thanks a lot. You have tremendous amount of resources. Great work!

Andromxda OP ,
@Andromxda@lemmy.dbzer0.com avatar

Damn just realized that I should probably change the title when cross-posting stuff like this. I didn't write this, it was originally posted here: https://programming.dev/post/13590224

FooBarrington , in eslint-plugin-paths: A plugin for ESLint, to force use paths aliases from tsconfig

Cool stuff, I was looking for something like this!

Only thing I'm missing is an option to prefer local imports over alias imports - I like to use alias imports for different modules, but local imports for stuff in the same module (but only downward, never parents). Would such a feature be interesting to you?

vitonsky OP ,

Could you elaborate your idea.

If i correct understood you, you want to use relative imports inside alias directory. This is possible, you may check test about it https://github.com/vitonsky/eslint-plugin-paths/blob/d5a307866df9cf460a50301820e12e3653eb1cca/src/rules/alias.test.ts#L36-L40

Is it that you need?

FooBarrington ,

It is, but I'd specifically like a rule that enforces this style of import over aliased imports. I.e. when importing a package, the order of importance is:

  1. Relative import (if on same or lower level)
  2. Aliased import (if in ancestor directory or different module)
vitonsky OP ,

Current plugin is just about force use aliases instead of relative paths (and back for deprecated aliases).

If you need to sort imports, you may try rule simple-import-sort/imports from https://github.com/lydell/eslint-plugin-simple-import-sort
It is very flexible, so you may customize your own groups. For instance, you may group aliases in one group and relative imports to another group. Check their docs

FooBarrington ,

Sorry, maybe I'm not being clear - I'm not talking about sorting. I'm talking about an ESLint rule that flags alias imports that can be expressed as relative subdirectory imports, but flags other imports that could have been alias imports. Does that make sense?

Examples:

// we're in @/lib/foo

// correct
import A from "./foobar/a"
import B from "./b"
import C from "@/lib/c"
import D from "@/d"

// incorrect
import A from "@/lib/foo/foobar/a"
import B from "@/lib/foo/b"
Kettrick , in Tie-in: A relational data component library for Node.js

Why not just use a graph database?

Aijan OP ,

That idea crossed my mind too. AFAIK, you can't really use SQL in graph databases, and that's a deal breaker for me.

RandomLegend , in selfhosted monitoring tool
@RandomLegend@lemmy.dbzer0.com avatar

I am using this for a year or so (?) and it's super convenient.

Supports so many ways of monitoring, bloatfree, incredibly easy and quick to set up and the notification channels also work super good

RootBeerGuy , in selfhosted monitoring tool
@RootBeerGuy@discuss.tchncs.de avatar

When I saw the icon and then the screenshot I knew it was the person that made Dockge. I will give this a try!

zinderic OP ,

Dockge looks nice, thanks for mentioning. I need something like it. Too many docker composes to manage and I don't want to go to the k8s complexity for hobby/personal use :)

ikidd ,
@ikidd@lemmy.world avatar

Check out Lazydocker while you're at it, if you like to SSH to your docker host. I make a bash alias for it under "lzd".

beepaboopa , in selfhosted monitoring tool

Yep, is good. Also supports Cloudflare tunnels. I've used it for about a year.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • cool_github_projects@programming.dev
  • test
  • worldmews
  • mews
  • All magazines