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-13 19:21] – mitsu | php:magnyaa [2014-09-07 13:14] (Version actuelle) – [[ Download ]] mitsu | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
---- | ---- | ||
- | **Status: 1.0 releasing | + | **Status: 1.0 "The Internet Is Made Of Cats, Nyaa~ !" released; pausing |
+ | [[# | ||
---- | ---- | ||
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. | ||
Ligne 65: | Ligne 69: | ||
* {{: | * {{: | ||
- | * Magnyaa Engine | + | * {{: |
- | * Magnyaa Engine SQLite3 databases (soon) | + | * {{: |
- | * Magnyaa Engine Feeders | + | |
==== [ 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 82: | Ligne 94: | ||
- | ==== [ Technical details for Engine ] ==== | + | ==== [ Engine |
Ligne 96: | 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 105: | 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 132: | 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