SShortSingh.
Back to feed

Developer builds free real-time collaborative diagram tool using React and Go

0
·2 views

A developer has launched Diagraw, a free browser-based infinite canvas tool for creating and sharing architecture diagrams in real time, requiring no account or installation. The frontend is built with React, TypeScript, and Vite, while the backend uses a Go service with an in-memory WebSocket hub that syncs edits between collaborators and persists changes to MongoDB. A key design choice keeps node positions as the sole source of truth, with edge geometry recalculated on every render rather than stored, simplifying the codebase significantly. The tool also supports importing Mermaid flowcharts and docker-compose files, automatically laying out nodes using a Sugiyama-style algorithm. A current limitation is that the in-memory hub prevents horizontal scaling, restricting the backend to a single replica per environment.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Waag Moves Bluesky Data to European-Hosted Eurosky Instance

Dutch public technology institute Waag has migrated its Bluesky social media data to Eurosky, a European-hosted alternative instance of the platform. The move reflects growing concerns among European organizations about data sovereignty and reliance on US-based digital infrastructure. Eurosky operates on the AT Protocol, the same open standard underlying Bluesky, allowing interoperability while keeping data within European jurisdiction. Waag published an article explaining its reasoning, citing alignment with its values around open, publicly governed technology. The decision mirrors a broader trend of European institutions seeking greater control over their digital presence and user data.

0
ProgrammingDEV Community ·

Oracle PeopleSoft Vulnerabilities Exploited in Attack on Nissan and 100+ Firms

A coordinated cyberattack exploiting vulnerabilities in Oracle PeopleSoft has compromised more than 100 organizations, including Nissan, exposing sensitive employee data. Attackers leveraged known flaws in PeopleSoft's Java deserialization handlers and HTTP endpoints to achieve remote code execution on application servers. Once inside, threat actors were able to harvest authentication tokens, LDAP credentials, password hashes, and OAuth secrets stored within the platform. Because PeopleSoft systems typically integrate with enterprise identity infrastructure such as Active Directory and cloud HR platforms, the breach creates pathways for lateral movement across connected networks. The campaign highlights the elevated risk posed by centralized identity management systems that hold privileged access to broader enterprise environments.

0
ProgrammingDEV Community ·

Developer builds AI agent to automate AWS-to-GKE app migration with human oversight

A software developer created an AI-powered tool called a 'skill' for the Antigravity CLI (agy) to automate the refactoring of cloud-dependent codebases from AWS to Google Kubernetes Engine (GKE). The tool addresses common migration pain points such as hardcoded AWS credentials, proprietary SDK usage like boto3, and local disk storage incompatible with ephemeral Kubernetes pods. It works by scanning cloud dependencies, spawning parallel subagents to refactor code and infrastructure, and validating changes on a local Kubernetes cluster before deployment. A mandatory human-in-the-loop (HITL) approval gate is built in to prevent any unsupervised changes from reaching production environments. The approach contrasts with simple scripted find-and-replace methods by using an LLM agent capable of understanding semantic context and adapting to the current state of the codebase.

0
ProgrammingDEV Community ·

Go's Built-In pprof Tool Lets Developers Profile Live Services in Minutes

Go includes a built-in profiling tool called pprof that requires no third-party software or agents to operate. Developers can enable it by importing the net/http/pprof package, which registers HTTP endpoints exposing CPU, memory, goroutine, and mutex data. A 30-second CPU sample can be collected using the go tool pprof command, and results can be visualized as flame graphs through a built-in web UI. Flame graphs help identify bottlenecks such as excessive memory allocations, JSON serialization overhead, or lock contention by showing which functions consume the most CPU time. For security, pprof endpoints should only be bound to localhost or a private interface, never exposed on a public port.