Page 1 of 1
How to create web interface
Posted: Tue Sep 29, 2015 4:20 pm
by jrs-
Hi!
I'm new here, I have skills in coding but i don't how to create a web interface. I have do all the html/css of my interface but I don't know how to get informations of torrents. In the orignal web interface they use Js file.
I try to use this :
https://trac.transmissionbt.com/browser ... c-spec.txt
but I don't know how to start..
if somebody can help me.
thanks
Re: How to create web interface
Posted: Thu Oct 01, 2015 8:24 pm
by killemov
Starting from scratch is a lot of work. Inspect the code from
Shift and apply your own css.
Re: How to create web interface
Posted: Fri Oct 02, 2015 9:06 pm
by jrs-
killemov wrote:Starting from scratch is a lot of work. Inspect the code from
Shift and apply your own css.
Hi!
thanks for your help !! But i'll not use shift as a base because I can't use my template.
I have some skills in javascript - ajax but none in nodejs and if i said right, it's needed for transmission web interface.
i'll just show my web interface (only css/javascript/html), maybe somebody will help me with nodejs.
My web interface (not finish) :
http://joris.re/iwtbt/
Re: How to create web interface
Posted: Sun Oct 04, 2015 3:06 pm
by killemov
jrs- wrote:killemov wrote:Starting from scratch is a lot of work. Inspect the code from
Shift and apply your own css.
Hi!
thanks for your help !! But i'll not use shift as a base because I can't use my template.
Yes, simply applying your css will not work in your case. The main difference is in the way a single row/torrent is rendered. You will need more and different layouts for other views (files,settings, ...) as well.
jrs- wrote:I have some skills in javascript - ajax but none in nodejs and if i said right, it's needed for transmission web interface.
i'll just show my web interface (only css/javascript/html), maybe somebody will help me with nodejs.
My web interface (not finish) :
http://joris.re/iwtbt/
You only need nodejs if you plan to rewrite the webserver and directly plug into the native c code. But I think you will stick to interfacing through the rpc-spec as is.
Re: How to create web interface
Posted: Wed Oct 07, 2015 4:30 pm
by jrs-
Hi !
Thanks for you reply.
So how I can start to use rpc of bittorrent ?
Re: How to create web interface
Posted: Thu Oct 08, 2015 9:11 pm
by killemov
jrs- wrote:Hi !
Thanks for you reply.
So how I can start to use rpc of bittorrent ?
It is NOT the rpc-spec of bittorrent, but the rpc-spec of the transmission-daemon. And the simplest way to use it is with JavaScript + AJAX directly from the browser. But having to tell you this ...