How to create web interface

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
Post Reply
jrs-
Posts: 5
Joined: Tue Sep 29, 2015 4:15 pm

How to create web interface

Post 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
killemov
Posts: 535
Joined: Sat Jul 31, 2010 5:04 pm

Re: How to create web interface

Post by killemov »

Starting from scratch is a lot of work. Inspect the code from Shift and apply your own css.
jrs-
Posts: 5
Joined: Tue Sep 29, 2015 4:15 pm

Re: How to create web interface

Post 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/
killemov
Posts: 535
Joined: Sat Jul 31, 2010 5:04 pm

Re: How to create web interface

Post 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.
jrs-
Posts: 5
Joined: Tue Sep 29, 2015 4:15 pm

Re: How to create web interface

Post by jrs- »

Hi !

Thanks for you reply.
So how I can start to use rpc of bittorrent ?
killemov
Posts: 535
Joined: Sat Jul 31, 2010 5:04 pm

Re: How to create web interface

Post 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 ...
Post Reply