Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bahirul/ipositif-php

Internet Positif Domain List Generator
https://github.com/bahirul/ipositif-php

blacklist pihole

Last synced: 3 months ago
JSON representation

Internet Positif Domain List Generator

Awesome Lists containing this project

README

        

IPOSITIF
=======

Internet postif domain list generator.

Web untuk generate domain blacklist atau whitelist.
Implementasi untuk [pi-hole](https://pi-hole.net/) dan bind9.

### Stuktur Direktori ###

-------------------

base/ contains base and init class
commands/ contains console commands
config/ contains application configurations
controllers/ contains Web controller classes
data/ contains generated data
public/ contains the entry script and Web resources
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application

### Fitur ###

- Validasi domain otomatis
- Blacklist dan Whitelist dari Kominfo Server
- Bind RPZ Format (Upcoming)

### Instalasi ###

Via composer :

1. install : `composer create-project bahirul/ipositif:"dev-master"`
2. composer update
3. Setup web server
4. Setup cron

Manual via git :

1. git clone https://github.com/bahirul/ipositif.git
2. composer update
3. Setup web server
4. Setup cron

### Konfigurasi apache 2.4 ###


ServerName ipositif.domain
DocumentRoot "/var/www/html/ipositif/public"

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
Require all granted

### Konfigurasi cron ###

path-applikasi : root folder ipositif (contoh: /var/www/html/ipositif)

update cron kominfo list dieksekusi setiap hari senin jam 10 pagi.

0 10 * * mon php /ipositif kominfo:fetch blacklist
0 10 * * mon php /ipositif kominfo:fetch whitelist

### Url Download list ###

1. kominfo blacklist : http://ipositif.domain/kominfo/blacklist
2. kominfo whitelist : http://ipositif.domain/kominfo/whitelist

### Screenshot ###

![ipositif](http://i.imgur.com/kbovf3C.png)

### License ###

**ipositif** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.