r/node • u/SpecificGeneral • Aug 02 '19
🖥🚀Made my first desktop app using Node, Electron, and React! ✏️Todo Editor - find and manage all the TODO comments in all your projects
8
Aug 02 '19
Hey you stole the design that I stole from every other code editor for my API Builder react/electron project 😂
5
u/SpecificGeneral Aug 02 '19
It looks nice! got a link?
2
Aug 02 '19
Early work in progress and probably doing a full revamp soon to support serverless as my workflow for API has changed since i started building it.
1
2
6
u/b-e-t-a-w-o-l-f Aug 03 '19
A code project that helps you code projects. That is beautifully recursive, and an awesome build. congrads. also, TODO comments 🤘
1
11
u/xaniv Aug 03 '19
Make this into a VSCode extension and you got me
5
u/wallywally11 Aug 03 '19
There is a VS code extension for this. Pretty sure it’s just called “TODO”. Doesn’t look / function exactly like this, but it shows all todos and I think beings you to them on click.
3
9
1
u/angusmiguel Aug 02 '19
how did you configure electron to work with react?
1
u/SpecificGeneral Aug 02 '19
I used babel and webpack. It was mostly straight forward, but there a few nuances. You can take a look at the webpack config here
1
Aug 02 '19
How do react and electron work together? I thought you used electron instead of react.
1
u/SpecificGeneral Aug 02 '19
Electron is basically just a chrome browser window that lets you use node to interact with the operating system. You can use React, Vue, Svelte, whatever to render the UI.
4
Aug 02 '19
Electron just gives you a standalone version of chrome for you to bundle your app into its own application instead of a webpage. It gives you a webview to deploy your app to, be it just HTML/JS or React or whatever. You also have access to nodejs runtime for more system integration.
3
u/VadimKu Aug 03 '19
What am i missing Why not just use webstorm's or vs code's todo functionality ?
2
2
2
2
2
2
2
u/BaptisteViloin Aug 03 '19
Cool project! Have you considered developing a VSCode extension? I can't see myself using a tool just for this
2
Aug 04 '19
Hey 👋 guys 👀 look at my 🙎♂️ app 🖥!
Emojis should never be used in a title, ever. Especially when trying to advertise. Last thing people want to think about is the product they are using being made by a child.
5
u/scaleable Aug 02 '19
Theres an awesome vscode plugin in the same lines
0
u/grady_vuckovic Aug 02 '19
That's besides the point
3
u/Panacean Aug 03 '19
Bringing attention to a similar solution should never be suppressed. Developers should always have consideration for the current landscape when creating solutions. Knowing about a similar capability can help drive/consolidate ideas or to avoid unnecessary duplication.
1
u/grady_vuckovic Aug 03 '19
I think the point is, that this is their first electron app. It doesn't have to be a totally unique idea, it's a learning exercise. A todo organiser is a good practice exercise.
1
u/Panacean Aug 03 '19
I appreciate that; every developer started somewhere. It's also important to foster creativity. Building upon this work by incorporating ideas seen elsewhere is a great way to hone your skills towards future projects.
1
3
2
1
1
Aug 02 '19 edited Jun 20 '23
Unfortunately Reddit has choosen the path of corporate greed. This is no longer a user based forum but a emotionless money machine. Good buy redditors. -- mass edited with https://redact.dev/
7
u/tr14l Aug 02 '19
Guaranteed at least a third of a gig.
6
0
Aug 03 '19
[deleted]
1
u/SpecificGeneral Aug 03 '19
I think it depends what you want to do. But for this project is was pretty easy. There is only like ~100 lines of code that actually use the Electron API
30
u/SpecificGeneral Aug 02 '19
The motivation I had for this app came from the fact that every time I sit down to code, I spend half an hour just deciding what to work on. I wanted to have all my tasks in one place. And I wanted to be able to click a task and see the relevant code for it.
This is my attempt a solution to that. It still doesn't have much features but I'm really excited with this prototype. I hope to get some feedback and advice on how to take it to the next level.
If you want to check out the code the repo is: https://github.com/ee92/todo-gui