php:magnyaa
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
php:magnyaa [2012-10-06 20:23] – mitsu | php:magnyaa [2014-09-07 13:14] (Version actuelle) – [[ Download ]] mitsu | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
===== Lightweight magnet-link database mirror of Nyaa.eu ===== | ===== Lightweight magnet-link database mirror of Nyaa.eu ===== | ||
- | {{:php:magnyaa.png? | + | {{:php:magnyaa1_0.png? |
---- | ---- | ||
- | **Status: | + | **Status: |
+ | [[# | ||
---- | ---- | ||
Ligne 16: | Ligne 17: | ||
The focus remains the same: provide a lightweight database mirror for NyaaTorrents (nyaa.eu), based on BitTorrent magnet links. Now the project is divided in 2 parts: the **engine** and the **browser**. | The focus remains the same: provide a lightweight database mirror for NyaaTorrents (nyaa.eu), based on BitTorrent magnet links. Now the project is divided in 2 parts: the **engine** and the **browser**. | ||
- | **Magnyaa Engine** | + | === Magnyaa Engine |
The Magnyaa Engine is written in **PHP5** and works with **SQLite3** databases. Each database contains up to 1000 torrent informations and weights ~130 kB (3 times more with complete updated data). The Engine responds with **JSON** messages. The Engine functions are: | The Magnyaa Engine is written in **PHP5** and works with **SQLite3** databases. Each database contains up to 1000 torrent informations and weights ~130 kB (3 times more with complete updated data). The Engine responds with **JSON** messages. The Engine functions are: | ||
Ligne 33: | Ligne 35: | ||
The JSON response messages allows using Magnyaa Engine with many applications and languages, may it be PHP, Javascript, Python ... | The JSON response messages allows using Magnyaa Engine with many applications and languages, may it be PHP, Javascript, Python ... | ||
- | **Engine Feeder** | + | === Engine Feeder |
The Engine Feeder consists of 3 bash scripts and one PHP script (which is [[https:// | The Engine Feeder consists of 3 bash scripts and one PHP script (which is [[https:// | ||
Ligne 44: | Ligne 47: | ||
- | **Magnyaa Browser** | + | === Magnyaa Browser |
The Magnyaa Browser is written in **PHP5** and parses JSON messages. | The Magnyaa Browser is written in **PHP5** and parses JSON messages. | ||
+ | |||
+ | Which of the " | ||
+ | |||
+ | The provided download of Magnyaa Browser is pre-configured with the project' | ||
+ | |||
+ | |||
+ | Of course you can use your own Engine and feed it yourself, so you have a really independent mirror. | ||
Ligne 57: | Ligne 68: | ||
==== [ Download ] ==== | ==== [ Download ] ==== | ||
- | * no downloads available yet | + | * {{: |
+ | * {{: | ||
+ | * {{: | ||
==== [ Installing and Updating ] ==== | ==== [ Installing and Updating ] ==== | ||
+ | |||
+ | === Browser === | ||
+ | |||
+ | * upload | ||
+ | * (customize config.php at will) | ||
+ | * done ! | ||
+ | * update: replace index.php, compare and edit config.php, add any other file | ||
+ | === Engine === | ||
+ | * RTFM. (it's included in the zip) | ||
==== [ Changelog ] ==== | ==== [ Changelog ] ==== | ||
Ligne 72: | Ligne 94: | ||
- | ==== [ Technical details for Engine ] ==== | + | ==== [ Engine |
Ligne 86: | Ligne 108: | ||
data_#/{4 digits}.db: contains torrent data, up to 1000 elements | data_#/{4 digits}.db: contains torrent data, up to 1000 elements | ||
- | As for now, # is " | + | As for now, # is " |
---- | ---- | ||
Ligne 95: | Ligne 117: | ||
Note: if {id} is starting with " | Note: if {id} is starting with " | ||
- | //no query//: empty page | + | //no query//: empty page (actually useful: the HTTP header " |
//? | //? | ||
Ligne 122: | Ligne 144: | ||
The Engine Feeder uses torrent-rw, published under GNU GPLv3 by Adrien Gibrat: https:// | The Engine Feeder uses torrent-rw, published under GNU GPLv3 by Adrien Gibrat: https:// | ||
- | Magnyaa in itself is neutral and automated, the developers can't be held liable for any misuse of the software. | + | Magnyaa in itself is neutral and automated, the developers can't be held liable for any misuse of the software. If Nyaa.eu' |
==== [ Contact ] ==== | ==== [ Contact ] ==== | ||
- | Bug report, feature requests, | + | Bug report, feature requests, |
http:// | http:// | ||
php/magnyaa.txt · Dernière modification : 2014-09-07 13:14 de mitsu