TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Query about local-first web development

2 pointsby forestratover 2 years ago
This is related to recent discussion earlier today in HN about local-first development - https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34857435<p>Local-first web development seems to be something which I need for solving a problem which I am facing, ALMOST!!<p>It will be great if someone here guides me on how I can solve this below problem.<p>I am part of a Enterprise company which installs a bunch of managed security softwares in employees&#x27; laptops. A couple of these security softwares can&#x2F;must be used in BYODs as well, to connect to the company network.<p>I would like to build a application such that, whenever a employee finds that something is not working right on their laptop, they should be able to fire it up on their browser and it will access logs from these security software and does troubleshooting&#x2F;debugging locally on the machine and provides the results and remediation steps to the person. This will tremendously save time instead of contacting IT team and waiting for their help.<p>For this usecase, I have some limitations.<p>1) I want to be able to solve for both managed laptops and BYODs (both Mac and Windows). So I cannot push this as a desktop application using MDM solution.<p>I want this to be a web-app as I can control the version of the application that they are running. So a local-first web app seems perfect in that sense.<p>2) I want to be able to access local file system where the logs of these security software are located. I am not a developer, but rather a infra guy, but based on what I know, a web-app cannot access the file system without user actually doing a file picker. But in this case, it is too much friction for non-technical users, especially since I want to build this solution for multiple security software which is dependent on multiple file location.<p>3) Moreover, I don&#x27;t want to unnnecessarily reveal too much information of location of the log files for the security softwares. But if it is a local-first &quot;web-app&quot; and the user has to be pick the file using a dialog box, I cannot do it without revealing the location.<p>4) For &quot;some&quot; use cases, I want to be able to &quot;securely&quot; send meta data to a centralized server for more complex troubleshooting scenarios or to log a ticket, for example.<p>Can someone please give me pointers on how I can solve this?

1 comment

yonzabout 2 years ago
If you haven&#x27;t already this would be a great #learn or #build post in <a href="https:&#x2F;&#x2F;lfw.dev" rel="nofollow">https:&#x2F;&#x2F;lfw.dev</a>