Sign in

Fuzzyma

@fuzzyma.bsky.social
416 followers 714 following 250 posts

Maintainer of svg.js and vue lover - freelancing wherever I go :) Member of the @e18e.dev community. Hit me up for any interesting vue projects. And if you need help migrating to vue 3: migrate-vue.com

PostsRepliesMedia
Fuzzyma @fuzzyma.bsky.social · 12/08/2026
I might share a link later but here is a peak. If you wanna try it out now, comment or dm me. I am open for feedback anytime.
A Screenshot of my app for sorting photos
010
Fuzzyma @fuzzyma.bsky.social · 19/06/2026
Guess I have to pay now...
Clockify insists that I upgrade to select a wider range than a month for the tasks I clocked - without warning
010
Fuzzyma @fuzzyma.bsky.social · 28/02/2026
I feel like the weather has a hard time figuring out whether it should be cold or warm
Me at the beach in the sun in shorts next to the ice which hasn't molten away yet
000
Fuzzyma @fuzzyma.bsky.social · 27/10/2025
People told me they don't recognize me when they see my profile picture. So here is a new one. You have to admin that the old one totally looks like me, right??
New "me" and old "me" profile pictures next to each other
030
Fuzzyma @fuzzyma.bsky.social · 21/12/2024
This is my git-wrapped this year. Not too bad 😄 How does yours look like? git-wrapped.com/profiles/fuz...
My github history with the highlights of the year
350
Fuzzyma @fuzzyma.bsky.social · 12/12/2024
Two days ago I held my first little talk at a local Vue Meetup in Berlin. The title was "My Road to Open Source" and how I ended up becoming the maintainer of svg.js over night. It was fun to engage with people about that topic. It also showed that I want more!!
Me standing in front of the wall with the projection of the beamer. First slide is visible.
2170
Fuzzyma @fuzzyma.bsky.social · 08/11/2024
Its far from perfect yet. Nested access control is not really flushed out yet. The output of the above code would be this:
A picture of the output the script generates. Here is the code:

```json
{
  users: {
    $uid: {
      ".read": "(auth.uid == $uid) && (newData == 'foo')",
      ".write": "(auth.uid == $uid) && (newData == 'foo')",
      name: {
        ".validate": "newData.isString()",
      },
      role: {
        ".validate": "newData.val() === 'user' || newData.val() === 'admin'",
      },
      details: {
        foo: {
          ".validate": "newData.isString()",
        },
        bat: {
          ".validate": "!newData.exists() || newData.isNumber()",
        },
        $__: {
          ".validate": "false",
        },
        ".validate": "newData.hasChildren(['foo'])",
      },
      $__: {
        ".validate": "false",
      },
      ".validate": "newData.hasChildren(['name', 'role', 'details'])",
    },
  },
}
```
000
Fuzzyma @fuzzyma.bsky.social · 08/11/2024
Does anyone of you folks still use firebase? I wrote a small script a while ago to generate firebase access rules from a zod schema and I wonder if anyone needs something like that. Should I open source it?
Code showing the usage of my script. Here is the code:

```js
const UserSchema = z.object({
  name: z.string(),
  role: z.enum(['user', 'admin']),
  details: z.object({
    foo: z.string(),
    bat: z.number().optional()
  })
})

const access = new AccessBuilder()
  .isAuthenticated('$uid')
  .and((builder => builder.newData().isEqualTo('foo')))
  .build()

const rules = {
  users: {
    $uid: {
      '.read': access,
      '.write': access,
      ...zodToFirebase(UserSchema),
    }
  }
}
```
200