惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
Stack Overflow Blog
Stack Overflow Blog
S
SegmentFault 最新的问题
博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏
U
Unit 42
GbyAI
GbyAI
B
Blog RSS Feed
博客园 - Franky
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Unity begone
Sarthak Gang · 2026-05-15 · via DEV Community

Sarthak Ganguly

Here is a challenge.

Search for "web gaming portal" on Google or any other search engine of your choice. Or anything that is remotely similar.

Here is a typical page or search result that you are likely to see.

Go to most of these and this is the page that you will see.

You will notice something eerily familiar.

Most of the games are the same, the majority of the games are coded in Unity and worse - the websites are often mirrors of one another.

Here is what I wanted to find - simple portal where I could play simpler games built with HTML and Javascript and nothing else. Sure, building them with engines like Phaser is one thing, but creating a complete game with Unity and then packing it together to play a game that I can't tinker with is no fun!

What are these portals?

Most of these are similar websites that host a bunch of games in good order and types. The objective is relatively simple - it allows users to play games on the web without having to login or bother about any installations otherwise. They target school and college students, and the business model is relatively simple - advertisements.

Lots and lots of advertisements. These are not just your on page ads (ones you can block with Ad blocking tools) but also compiled ads in game that you can't skip. Overall, if your objective is to kill time, by all means - these websites are great.

But let's say you wish to revisit the 13kb gaming challenges or even wish to tweak any of the similar pure HTML and Javascript games - you will have to either check out the limited games listed on the site or browse through the hundreds of games in GitHub or other repositories, download and host them locally and then play them.

Here's what I thought

What if I could just have a portal where I could play any of these games anytime I wanted?
Initially I tried this on a simple python http server. It worked good enough. I could ngrok it to share it with some of my friends.

Eventually, I thought to scale it up.

It was not hard.

All I did was

  • Downloaded a number of MIT or unlicensed games that I enjoy
  • Hosted them on a server in a docker container
  • Created a single JSON file that encapsulated the gaming meta data
  • Spun up a React SPA that held together all of the games using the games JSON file.

A typical JSON entry would look like this -

{
  "id": "unique-uuid-here",
  "title": "My Awesome Game",
  "slug": "mygame",
  "category": "arcade",
  "thumbnail": "",
  "emoji": "🚀",
  "description": "A detailed description shown in the intermediate view.",
  "players": 1000,
  "rating": 4.5,
  "badge": "new",
  "path": "/games/mygame/index.html",
  "source": "https://github.com/user/mygame",
  "isPlayable": true,
  "license": "MIT"
}

Enter fullscreen mode Exit fullscreen mode

Yes, this is my 'database' of sorts!

And yes, some of the fields in the json are dummies, like rating, badge, players and so on. But I can build or iterate on this basic setup in time.

And thus, the basic gaming portal was ready!

Theming was done thanks to Gemini and I was able to run this on my Pentium 3 potato PC running Puppy Linux.

The entire code is hosted here. The demo website is up at Frybahn.