Dark Web Talk

Hidden Service Development

Started by gpg · Dec 14, 2024

#6333
Hello everyone I would like to know what frameworks are used to build DNMs or just sites built on tor? Like backends

I have heard PHP is used a lot but would you recommend Flask and mysql to build a site or DNM or a site over tor? So pure HTML and CSS and then Flask for the bakcend but you're using flask to also host the html files too so backend and frontend combined also I'm using NGINX with WSGI to put this into production at the end.

Should I use Flask and MySQL as the database? or would you recommend other frameworks and languages?

Also is it ok if the admin page is in the onion as the main site? -- So for example something.onion/adminPage but no one can access this unless the specal user logs in and they are the only one who can see this page. --

What other advice would you give?
#6334
↳ Replying to @gpg
Python better than PHP

but if u ask me, try learn Golang or Rust

more secure and fast
#6335
↳ Replying to @gpg
[removed]
#6336
↳ Replying to @deleted-dd5f43ed
I was thinking of using Django but I prefer Flasks's simplicity.

Would you recommend using RUst instead of Python? for example actix web or rocket.rs
#6337
↳ Replying to @gpg
[removed]
#6338
↳ Replying to @gpg
It depends on what you are making.

Rust is very fast and memory safe which is good for a service like tforum, where uptime and speed are important. However there is going to be a bigger learning curve to it. Python will be a lot easier to work with, but isn't going to be as fast. If you are making a small site then this should be fine.

If you are going to use Rust, actix web and axum are both great frameworks and have worked well for me.