HNHacker News
TopNewBestAskShowJobs

davej

2,298 karma · joined September 7, 2010

https://twitter.com/DaveJ

Founder of ToDesktop: https://www.todesktop.com

dave[@]todesktop.com

[ my public key: https://keybase.io/davej; my proof: https://keybase.io/davej/sigs/FM5YHbUxtgUBcbAxTsHEUoJ99YV2rd9JbFNBjoZ3JBw ]

submissionscomments
davej··on ToDesktop – Web app to desktop app in minutes
Thanks for the kind words Chris! I completely agree.
davej··on ToDesktop – Web app to desktop app in minutes
> Therefore, you might want to consider a free personal version that's crippled in a mildly annoying way: For example, no installer, don't sign the app, and have an easily-ignorable nag. (Therefore creating a situation where if I tried to distribute one of these applications for a commercial product it looks unprofessional.)

We basically do this. You can download ToDesktop Builder and create an app for free on your computer. You just can't sign it and distribute it to your customers.

This is a good point though. We will make it more clear on our landing page.

davej··on ToDesktop – Web app to desktop app in minutes
To clarify: we host the initial download of the app on our CDN so we would most likely block the initial download of the app. It seems pretty reasonable to me that if a customer doesn't pay for a sub then they can no longer offer it as a download to their customers.
davej··on ToDesktop – Web app to desktop app in minutes
Feel free to drop me an email dave[at]todesktop or dm @davej on Twitter. I started ToDesktop as an indie hacker, so I understand where you're coming from. Hopefully can figure out something that works for you. :)
davej··on ToDesktop – Web app to desktop app in minutes
Not currently, there's still a lot to do with the desktop platform!
davej··on ToDesktop – Web app to desktop app in minutes
> 1) What are the "plugins" a pro subscription gives me. I could only see info on filesystem access in the docs. > 2) Likewise, what is the "restricted API" that pro subscription brings.

We have a bunch of plugins and are adding more all the time. Currently we have: * Active Window - Retrieve app metadata from the currently-active window of the OS. * Selected Text - Retrieve the currently-selected text from any application. * Active Icon - Retrieve the OS icon for a target file or application. * File System * File Exec - Bundle java/python/whatever binaries with your app and run them as a background server * Communication Server - Communicate between your app running in the web browser and your desktop app.

Usually a customer will ask "can I do x" and if the answer is no then usually we will build it out as a plugin.

> 3) Do I have any control over the "updates". For example, when I release a native app, I would want it to "update" to that.

By default we automatically update apps but we also have an API if customers want to programmatically control the update flow.

> 4) I am curious of the choice of electron over using the native browser libraries, given that the applications it targets are always web-first. Is there any reason you decided to go that route?

Electron is remarkably solid with a very mature API. It's much more battle-tested than the alternatives given that a lot of the most popular desktop apps use Electron.

> 5) What happens in the event I cancel the subscription? Will the apps cease to work? How is this presented to the end user?

Updates will stop working so you can't update your app. We don't currently block apps when subs are cancelled (except in cases of abuse) but we will likely do something in the future if a customer has cancelled their subscription but are still actively advertising their app on their site for example.

davej··on ToDesktop – Web app to desktop app in minutes
Oh wow, It's exciting to see this pop up on HN. I'm Dave, founder of ToDesktop. Feel free to reply to this and I'm happy to answer any questions :).
davej··on Launch HN: Artie (YC S23) – Real time data replication to data warehouses
Very cool, are you guys focused on databases as sources or do you plan to add API-based sources too (e.g.. Stripe Customers)? Currently using Airbyte but something more real-time would be beneficial to us.
davej··on Thoughts on Svelte(Kit), one year and 3B requests later
We have recently moved our website[1] to SvelteKit. Previously we were on Sapper. Previous to that we used a custom Webpack + React setup to output a static site.

Our desktop app builder is also built on Svelte (not SvelteKit).

I agree with pretty much everything in this article. I wouldn't put "Reactive declarations and statements" in the "Ugly" section though. They are definitely a bit tougher to fully grok than the rest of Svelte (Svelte is incredibly easy to learn compared to other frameworks) but once you learn how they work they are incredibly powerful and concise.

I also feel like "Svelte’s lack of protagonism" is a bit off the mark. Rich Harris is a great communicator and tends to be pretty public but the focus is more on community. Svelte Society's Youtube channel [2] does a 1 hour long "This week in Svelte" video every week and it is all killer content with no filler.

[1] https://www.todesktop.com [2] https://www.youtube.com/@SvelteSociety/videos

davej··on ChatGPT-Linux-Assistant

    Query:> Tell me a joke
    Running command [rm -rf ~] ...
    Response:: LOL
davej··on Modules, not microservices
Musk may just be wrong but isn’t it also possible that the RPCs need to communicate with an edge node in India. Perhaps government regulation requires them to store/serve some user data from India if serving Indian customers? Or something like that?
davej··on Modules, not microservices
Twitter has a similar issue according to Musk https://twitter.com/elonmusk/status/1592176202873085952
davej··on Pokemon Card Animation
Linear use a similar effect on their Customers page when you hover over their customer's cards: https://linear.app/customers
davej··on Tauri vs. Electron – Real world application
A missing point of comparison is that Electron also has far more desktop APIs available. Electron also has support for some advanced primitives like BrowserViews which enable some very sophisticated use cases.
davej··on Musk announces funding secured for Twitter buy
Musk paid the largest tax bill in history last year.
davej··on Show HN: Add live runnable code to your dev docs
Neat. I guess a useful side effect of running this is that it will be super obvious when the docs contain broken code! How are errors handled? Am I able to see errors that my customers raised while interacting with the docs?
davej··on Ask HN: Why aren't devs making desktop apps any more?
Craft [0] are a Notion [1] (note-taking app) competitor that decided to go desktop app first rather than web-first. Their desktop app is beautiful but now they are implementing the webapp and it is obvious that there is a lot of feature disparity with the desktop version. To me, it's pretty telling of why the smart decision is often to go web first.

I guess it might make sense for Craft because they are in a very crowded space with a large potential market and being native-first is a differentiator over their competitors. I think in most cases though, it doesn't make sense to go native-first.

Being web-first means that you can ship a consistent UI on every platform using tools that most devs are familiar with.

- You code once, it works everywhere.

- There is nothing to install, no updates to download.

- Lots of web devs means more devs to choose from when hiring.

The accessibility of the web platform make it a lowest common denominator. Desktop does add a ton of benefits though. Some of it is intangible like "feels more solid". But there are a ton of tangible benefits too.

- Easily accessible on the dock or start menu. Once installed then less likely to be forgotten.

- Native notifications.

- More refined UI. Not just one of many tabs.

- Access to native APIs that aren't available inside the web sandbox.

- Alt-tab or Command-tab.

- Quick access, i.e. can live in the menubar/tray or can be assigned to a global keyboard shortcut which pops up the app quickly.

But... Electron can provide all of that! So, it's mighty tempting to start with a web app and then pepper in some desktop functionality later by wrapping your web app using Electron.

* Disclaimer: I'm working on this problem with ToDesktop [2] so factor my bias into your comments. :)

[0] https://notion.so/ [1] https://www.craft.do/ [2] https://www.todesktop.com/

davej··on Tesla FSD Beta Lunges Toward Bicyclist
Of course, I don't know the future, it was just a hypothetical question, not a mathematical definition. My point was just the answer is not zero because the alternative is human driving and human driving is also not zero deaths. So, at some point we will have to make some sort of trade off that will involve some number of deaths. Unless you are suggesting that the likelihood of deaths should literally be zero before we start rolling out in public?
davej··on Tesla FSD Beta Lunges Toward Bicyclist
There needs to be some testing of FSD solutions in real world scenarios and there will inevitably be deaths. There are thousands of deaths on the road every day right now.

Even if FSD is mature and 1000x safer than human driving then there will still be deaths. Are you suggesting that if FSD is 1000x safer then it still shouldn't be allowed on the road because there is the possibility of deaths?

I'm not claiming that FSD should or shouldn't be allowed on the road right now. My point is that we shouldn't wait for the chances of death to be zero.

davej··on Tesla FSD Beta Lunges Toward Bicyclist
> "Some of you may die, but it's a sacrifice I am willing to make."

Honest question: If beta testing speeds up the transition to FSD by x months/years and causes y deaths during the intervening period but FSD ultimately reduces the number of road deaths by z per day. For what values of x, y and z is it an acceptable trade off?

Zeroism is often overly simplistic. y being non-zero might be hugely net-positive in the long run.

davej··on Amazon EC2 M1 Mac Instances
Another datapoint is that Scaleway charges €.10 per hour ($.113) for their M1 instances, this is roughly one-sixth of what AWS is charging.
davej··on IndexedDB is completely broken in latest Safari
Mostly because iOS isn’t the market leader (and they don’t want to be).
davej··on Stripe valuation soars to $95B after latest fundraising
Particularly interesting that the Irish sovereign treasury is co-leading this round.
davej··on Show HN: Svelte NodeGUI, a lightweight Electron alternative with native UI
End-users are still more familiar with a download link on a website for a exe/dmg installer on desktop.

You also need to need to redo your subscription/payments to support the stores and give a percentage of your revenue to Apple/Microsoft. On mobile you have no option but on desktop it's hard to justify giving up so much of your profit margin when there's a popular alternative.

BTW, Linux has the Snap Store.

davej··on Show HN: Svelte NodeGUI, a lightweight Electron alternative with native UI
This is awesome. Props to the authors. My comment was not meant to knock on this project. I'm just pointing out that people should consider distribution if they want to use a tool like this. Putting a desktop app in front of customers is not yet as easy as it is on the web but I'm working on making it better [1].

[1] https://www.todesktop.com/cli

davej··on Show HN: Svelte NodeGUI, a lightweight Electron alternative with native UI
Strongly agree. Hello World apps are great but it would be even better to see a Hello World tutorial that can actually be distributed to customers. You probably also need auto-update, native installers, code signing (notarization on Mac) and the ability to build native modules cross-platform.

This is a super-interesting project though.

davej··on Show HN: Svelte NodeGUI, a lightweight Electron alternative with native UI
It would be nice to have the ability to weave in WebViews with the native UI. I see this lib but it's still marked as WIP: https://github.com/nodegui/nodegui-plugin-webview
davej··on Tauri: An Electron alternative written in Rust
I've been following this project for a while, it's super exciting. Unfortunately, progress seems to have slowed somewhat in the last 6 months.

Loading Node in the renderer is a broken pattern that is full of compatibility issues and security vulnerabilities. Electron have come to realise this too and seem to be pushing towards ContextIsolation and explicitly defined bridges between the "backend" node process and the renderer.

davej··on Launch HN: Zaraz (YC W20) – Use third-party tools without slowing your website
This is a real problem. Marketing tools like Intercom and Fullstory made the Time-To-Interactive metric on our landing page 10x slower. It had a measurable effect on the search engine rankings too.

Faster webpages → better search rankings → $$$$$.

davej··on Show HN: Plant-based flavor enhancer – hack your tastebuds to eat healthy
This is a great alternative way to have a fun evening with housemates during lockdown. Tried this with a cheap whiskey + lemon, it was dangerously tasty. Congrats Daniel!
← PreviousPage 2 of 17Next →