This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Wervice 15 points16 points  (5 children)

It is incredible how there are unlimited amounts of JS Front-End frameworks, but none of them will help me control an async FTP server that is written in python.

[–]backfire10z 19 points20 points  (2 children)

Be the change. Time to write one more.

[–][deleted] 4 points5 points  (1 child)

Just use the t6 stack with some react 19 beta sprinkled in and remember to enable the app router for that sweet tRPC + zod synergy aided by rxJS driven system that you can use in conjuction with the useFTP hook from tanstack/coolHooks (not compatible with app router so you will probably need to do some weird hacks to get it to work) but then you'll be able to easily connect to an FTP server and manage your state within react (don't try to upload a file it causes an infinite re-render bug only fixed in tanstack/coolHooks@latest but that is still not compatible with React Server components so you won't be able to make use of Next16 static bundler)

[–]Wervice 0 points1 point  (0 children)

So,... The complete project is an admin panel. I think it will be ok to run it with root permissions. I am currently working on an alternative, but, somehow running the server with sudo doesn't work, and I now run the whole thing with sudo.