baner

joined 2 days ago
[–] baner@lemmy.zip 3 points 1 hour ago

Thanks, I have tried to follow best security practices on this like using JWT for authentication, sanitize all inputs for SQL injections, password hashing, etc. Still better to be cautious, project still need some fixes but not affecting the overall gameplay. Right now I am working on documentation. It can be played as a guest but creating an account allows the game to track stats about win, lost, captures, XPs and a lot more. is mobile friendly, there is an android app but is not part of the repository at this time. make sure to share back your experience if you check it out.

[–] baner@lemmy.zip 1 points 2 hours ago

I refuse to accept that an open platform like lemmy (fediverse) is used for anything other than freedom of expression, but I appreciate your honest comment.

[–] baner@lemmy.zip 1 points 4 hours ago (1 children)

Thanks for commenting, not actually expecting everyone to get impressed but just sharing something that is useful and fun. it just works.

 

cross-posted from: https://lemmy.zip/post/60250839

Hey everyone 👋. I just wanted to share a little personal project that grew a bit more than I initially planned.

The original idea was simply to build a game so I could play Parchis (Ludo) with my family, as it’s a classic in our household. I ended up building the whole thing entirely through "vibecoding" (AI-assisted coding) because I wanted to see how far I could push current AI tools.

The result is a full web multiplayer game (React/Vite frontend + Node/Express/Socket.io backend with SQLite to store game data).

If anyone is curious or wants to spin it up on their local network to play with friends/family: 🔗 Repo: https://codeberg.org/baner/parchis (it has a docker-compose.yml ready to go in seconds).

⚠️ A big warning about security: As I mentioned, I completely built this relying on AI, and it was initially meant as a home project. I am not a cybersecurity expert by any means. While I have briefly exposed it to the internet a couple of times to play with remote relatives, my absolute recommendation is to host it ONLY on your local network (LAN) or behind a VPN (like Tailscale/Wireguard). The nature of AI-generated code means it's probably full of vulnerabilities that I haven't caught. Play at your own risk if you decide to open ports to the wild web! 😅

This is also my first project using a monorepo structure and publishing a Docker image for others to deploy. If you take a look and see something horrible (or something that works surprisingly well haha), all feedback is super welcome. I hope someone finds it fun for a local game night!

 

Hey everyone 👋. I just wanted to share a little personal project that grew a bit more than I initially planned.

The original idea was simply to build a game so I could play Parchis (Ludo) with my family, as it’s a classic in our household. I ended up building the whole thing entirely through "vibecoding" (AI-assisted coding) because I wanted to see how far I could push current AI tools.

The result is a full web multiplayer game (React/Vite frontend + Node/Express/Socket.io backend with SQLite to store game data).

If anyone is curious or wants to spin it up on their local network to play with friends/family: 🔗 Repo: https://codeberg.org/baner/parchis (it has a docker-compose.yml ready to go in seconds).

⚠️ A big warning about security: As I mentioned, I completely built this relying on AI, and it was initially meant as a home project. I am not a cybersecurity expert by any means. While I have briefly exposed it to the internet a couple of times to play with remote relatives, my absolute recommendation is to host it ONLY on your local network (LAN) or behind a VPN (like Tailscale/Wireguard). The nature of AI-generated code means it's probably full of vulnerabilities that I haven't caught. Play at your own risk if you decide to open ports to the wild web! 😅

This is also my first project using a monorepo structure and publishing a Docker image for others to deploy. If you take a look and see something horrible (or something that works surprisingly well haha), all feedback is super welcome. I hope someone finds it fun for a local game night!

[–] baner@lemmy.zip 1 points 1 day ago

What is the use case? Share with family and friends?

[–] baner@lemmy.zip 1 points 1 day ago (2 children)

You have 2 options:

1 - Open up Jellyfin port (8093) in your router if you are not behind a cgnat and add a reverse proxy

2 - Get a small vps and a domain, install a reverse proxy and use tailscale to connect the vps with your home server, point your domain to the vps and forward traffic to jellyfin.

[–] baner@lemmy.zip 2 points 1 day ago* (last edited 1 day ago) (1 children)

Just remember that using funnel for streamimg servicies it is against the toss.

[–] baner@lemmy.zip 3 points 2 days ago

You should keep trying with tailscale, did you read the docs? (tailscale provides amazing documentation), you dont need to install the client on every device, for that use subnet routers, all is in the docs. Give it another try and post back what issues you are having.