Show HN: Locality – Sync engine to mount apps like Notion, Gmail as a filesystem

misrasaurabh11 pts0 comments

Hi HN, I built Locality after getting frustrated with my coding agents struggling to find the right context for work across the apps I use. MCP is useful for connecting tools, but for knowledge-heavy tasks I kept wishing agents could work with Notion, Slack, Linear, Gmail and other apps the same way they work with a codebase: search files, read only what they need, and combine information using shell tools.Locality mounts content from those apps as local files and keeps it synchronized. Because all my data is local, I can point Codex at my Locality directory and ask it to analyze my recent meetings, draft emails, update a standup in Notion and use information from Linear and Slack for a task. The agent can use rg, write bash scripts and edit files instead of making a series of app-specific tool calls. Owning my data helps me create my own custom workflows and scripts easily across apps with just prompts.To make this file system interface for apps work, I created a sync engine that fetches, converts data to markdown and mounts it as a files. On file writes and push, it validates the file diff and creates a sequence of api calls that will make the app consistent with the file system state. If there are version drifts, it either auto-merges them or adds conflict markers in the file that the agent can resolve.Works on Mac, Windows and Linux and is open source. Would love to hear any feedback you may have in the comments.

apps file locality work files notion

Related Articles