Alex Casillas

Alex Casillas

@alexvcasillas.dev

$ core-engineering @tiptap.dev >_ curl-runner.com on my spare time

76 followers136 following130 posts

We're working towards Tiptap v4 🚀 Join the discussion on GitHub if you'd like to contribute; everyone is welcome ❤️

Tiptap@tiptap.dev

This week, we officially started working on Tiptap v4. The idea hub on GitHub has been open for a while, and every contribution helps us shape what v4 will become. We'll keep v3 in maintenance mode but won't add new features. github.com/ueberdosis/t...

‪Imagine spending eight fkn thousand dollars for the MBP and not getting the fucking AC adapter 👏🏻 who’s brilliant idea was this? “it’s because of the carbon footprint” but I have to buy a separate fkn box to get the fkn adapter to be able to charge my 8 fkn thousand dollars MBP. (chef’s kiss)‬

Wow! This is crazy 😱 it’s my first ever GitHub sponsor for my work on open-source ❤️ I cannot express how grateful and happy I am about this milestone 🎉

View full thread

Worth mentioning that the only one that supported transparent backgrounds out of the box was OpenAI, for Gemini, I had to craft an erosion tool to erase a magenta background, which didn't even come as a single color but in a range 🫠 For xAI maybe I forgot to configure something

I asked for image generation AI models. A random person came in telling me that I should hire an artist, I just replied it’s just to prototype and I’m not hiring any artist just to prototype and I got blocked? 😅 guess people have a very thin skin

What are some good AI models for image generation? I’m working on a game asset generation platform for myself and I’d like to test different models beyond NanoBanana and GPT :)

Pixel art still has some artifacts, but I think this is due to Gemini itself not creating proper pixel art, because it's creating giant "pixels" in a much bigger image canvas, so that's why it's not looking that good, and I'm getting artifacts. Also, my erossive script is maybe a little aggressive 😅

> Style: Hand-drawn. 2.5D-style armour for a Diablo-like roguelike game. The armour should resemble a demon. You can take inspiration from Diablo's demon hunter and World of Warcraft rogues. Standalone item draw. No character. Avoid: blurry, low quality, poor quality, characters, enemies, npcs.

A fun project that I did over the weekend when my wife and baby were napping, even though I promised myself I would not touch the computer on the weekends 😅 It's an AI tool to generate game assets. Since lately I've been playing around with @phaser.io and @godotengine.org but I'm not a graphical...

View full thread

Gemini to generate the backgrounds with this particular #ff00ff shade", and you know what? Gemini does not give a F$c# about the hex you tell him and it generates a different shade of magenta, so you gotta due hue-based magenta detection across the sprite to identify the magenta shades and then...

proceed with the removal of those. I'm learning a lot with this project and burning quite a few tokens and quite a few dollars in asset generation with the Gemini API, but hey, knowledge has no price, unless it ends up getting me broke. At that point I wouldn't care because my wife would 🔪 me 🫠

A fun project that I did over the weekend when my wife and baby were napping, even though I promised myself I would not touch the computer on the weekends 😅 It's an AI tool to generate game assets. Since lately I've been playing around with @phaser.io and @godotengine.org but I'm not a graphical...

View full thread

and the result ended up very promising, but as you can see from the screenshot, there are still pink/magenta artifacts remaning from the image manipulation, because Gemini does not generate real transparent backgrounds, it lacks of alpha channel outputs and I had to manually do it myself after...

receiving the output. But there's also another catch, usually in game assets, designers have this accepted pattern of using this particular shade of magenta #ff00ff to symbolize transparency. It's wildly used as it's a color that's not used at all in game design so I told myself "ok, let's ask...

A fun project that I did over the weekend when my wife and baby were napping, even though I promised myself I would not touch the computer on the weekends 😅 It's an AI tool to generate game assets. Since lately I've been playing around with @phaser.io and @godotengine.org but I'm not a graphical...

artist I decided that "why not try to build my own asset generation pipeline using Google's NanoBanana so I can prototype something more appealing than colored squares?" and there's the result. I've been slowly iterating on generating sprites and spritesheets that allow for transparent bgs...

Well, there's even docs about it now! Check them at graphdb.alexvcasillas.workers.dev I've used @cloudflare.social pages and workers and @astro.build to quickly get the docs up and running!

graphdb.alexvcasillas.workers.devGraphDBAn in-memory database with sync capabilities. Zero runtime deps. TypeScript-first.
Alex Casillas@alexvcasillas.dev

Do you remember this one from yesterday? Well... we now have @graphdb/core at 2.0.0 with lots of improvements, fixes, breaking changes, and lots of great things and of course @bun.sh first 🔥 You can check the repo 👉 github.com/alexvcasilla...

Do you remember this one from yesterday? Well... we now have @graphdb/core at 2.0.0 with lots of improvements, fixes, breaking changes, and lots of great things and of course @bun.sh first 🔥 You can check the repo 👉 github.com/alexvcasilla...

github.comGitHub - alexvcasillas/graphdb: An in-memory database with sync capabilities. Zero runtime dependencies. Bun-first.An in-memory database with sync capabilities. Zero runtime dependencies. Bun-first. - alexvcasillas/graphdb
Alex Casillas@alexvcasillas.dev

Let’s see what Claude has to say about my old OSS projects 🤔

This was my take on a CDN over NPM github.com/alexvcasilla... as an unpkg alternative. I wanted to try Cloudflare caching and it turned out really great, though I’d not use Next.js anymore if I had to build this again from scratch and rely on @bun.sh and Elysia

github.comGitHub - alexvcasillas/cratebox: A global, fast content delivery network for NPMA global, fast content delivery network for NPM. Contribute to alexvcasillas/cratebox development by creating an account on GitHub.
View full thread

A live collision editor, a live trigger editor, a live grass editor, a live dialog editor, and the debugging menu because I want to be able to edit collisions and triggers and grass and others while playing the game instead of going back and forth and figuring pixels in my head 😎

Cool side project from my friend @bdbch.com here! Follow him if you’re interested in more updates and see how it goes, he’ll be sharing more soon 😎

More progress today. Pumped out a few lines of code yesterday and got the feed working now. It's not perfect, the header is to big, the page is not scrolling up, the search is flakey but we're getting there. Going to fix bugs today and then continue onwards to sub-pages & the home feed + feeds.

Will I be able to read and understand this when I come back later? Maybe not in a year, maybe tomorrow 🤣

Cloudflare@cloudflare.social

What is the philosophy or mantra that guides your approach to writing clean, maintainable code? #CloudflareChat

Today I did something crazy. Some context: I’m a mess and I had my ~/ dir scattered with projects without any criteria nor order, and today I felt like I needed to tidy things up, so I asked Claude to go through my ~/ and move everything into ~/code and then categorize everything [1/2]

per category type of project, like “work”, “tools”, “personal”, etc… it took his time to categorize and move around things, but I’m very happy with the results; let’s see what tomorrow’s Alex think about when it starts working haha but I think it will make me peace of mind 🧘🏻‍♂️