From 074dff7b148e5072d0794991ad1841b3e84dcfbf Mon Sep 17 00:00:00 2001 From: Manjunath CV Date: Sun, 4 Aug 2024 21:36:55 +0530 Subject: [PATCH] Fixes --- README.md | 21 +++++- index.php | 221 ++++++++++++++++++++++++++++-------------------------- style.css | 11 ++- 3 files changed, 137 insertions(+), 116 deletions(-) diff --git a/README.md b/README.md index 98ec99d..3083ea8 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,27 @@ # Hash to Magnet -Web tool to generate magnet URI from Torrent Hash. +Web tool to generate magnet URI from Torrent Hash. -# Parameters +Link : https://cvmanjoo.in/magnet + +## Parameters * Magnet Hash (Required) * Name of Torrent (Optional) * Trackers (Optional) * Webseeds (Optional) -# Resources +## Example + +| First Header | Second Header | +| ------------- | ------------- | +| Infohash | 2AA4F5A7E209E54B32803D43670971C4C8CAAA05 | +| Torrent Name | Ubuntu 24.04 Desktop (x64) | +| Trackers | https://torrent.ubuntu.com/announce | +| | https://ipv6.torrent.ubuntu.com/announce| +| Webseeds | https://releases.ubuntu.com/24.04/ubuntu-24.04-desktop-amd64.iso | + +## Resources 1. Bittorrent Protocol http://bittorrent.org/beps/bep_0053.html -2. CSS Design - https://www.w3schools.com/w3css/ +2. Magnet URI scheme https://en.wikipedia.org/wiki/Magnet_URI_scheme +2. CSS Design - https://www.w3schools.com/w3css/ \ No newline at end of file diff --git a/index.php b/index.php index 6f9e740..7fb3a88 100644 --- a/index.php +++ b/index.php @@ -1,125 +1,134 @@ - - Magnet - - + + Magnet + + - + - - - - - -
-
-
-

Magnet Info

-
-
-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-
-
- - -
-

Error : Infohash cannot be empty.

-
- -
-

Error : Invalid Infohash.

-
- -
-

-
- -
-

Enter Some Torrent Info Hash

-
- -
- - + + + + + +
+
+
+

Magnet Info

+
+
+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+
+
+ +
+

Error : Infohash cannot be empty.

+
+ +
+

Error : Invalid Infohash.

+
+ +
+

+
+ +
+

Enter Some Torrent Info Hash

+
+ +
+ + \ No newline at end of file diff --git a/style.css b/style.css index b500007..05200a2 100644 --- a/style.css +++ b/style.css @@ -4,10 +4,12 @@ Author : Manjunath CV */ -@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Mono&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap'); -body { - font-family: 'Roboto', sans-serif; +body, h2 { + font-family: "Fira Sans", sans-serif; + font-weight: 400; + font-style: normal; } @@ -26,7 +28,6 @@ footer { } - /* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */ @@ -34,6 +35,4 @@ footer { section { width: 95%; } - - } -- 2.39.5