FAIZ-AI is an asynchronous CLI tool for searching and retrieving files across multiple protocols (HTTP, FTP, IPFS, Torrent) in parallel. It combines semantic search with vector embeddings to rank candidate results.
License: MIT β see the LICENSE file for full terms.
π Key capabilities:
- Multi-protocol simultaneous search (HTTP, FTP, IPFS, Torrent)
- Semantic ranking using SentenceTransformer embeddings
- Asynchronous, non-blocking architecture (asyncio + aiohttp)
- Built-in safety measures: spell correction, intent verification, extension blocking
- CLI-first design for automation and scripting
- Highlights
- Features
- Install
- Configuration
- Usage
- Project structure
- Safety & legal
- Contributing
- License
- Contact
- Multi-protocol aggregator: query HTTP (including Google dorking for file types), public FTP servers, IPFS gateways, and Torrent DHT-like discovery simultaneously.
- Semantic intelligence: uses
sentence-transformers(default modelall-MiniLM-L6-v2) to embed queries and candidate results, ranking by semantic similarity rather than raw keyword matches. - Asynchronous design with connection pools, rate-limiting and timeouts to support concurrent operations.
- Safety-focused: includes basic safeguards such as spell correction, intent filtering and extension blocking; these do not guarantee safety and should not be considered a replacement for careful review.
- Multi-Protocol Search
- HTTP: targeted searching (file types, dorks)
- FTP: asynchronous scanning of public FTP servers (e.g., FreeBSD mirrors, kernel.org)
- IPFS: search via public IPFS gateways
- Torrent: DHT-style discovery for magnets and .torrent metadata
- Semantic Ranking
- Embeddings via
sentence-transformers(configurable model)
- Embeddings via
- Smart Query Processing
- Spell correction (pyspellchecker)
- Intent verification to block malicious or unsafe queries
- Safety Verifiers
- Extension filtering (recommend blocking dangerous extensions like
.exe,.bat,.sh)
- Extension filtering (recommend blocking dangerous extensions like
- Output
- Real-time logs during scanning
- Final ranked results saved to
faiz_results.json
- Python 3.8+
- pip
- Linux/Unix environment recommended for automated script
- Clone Repository or Download ZIP. Open Terminal and Paste This:
git clone https://github.com/mufaizz/FAIZ-AI.git
- Make
setup.shexecutable. Type:
chmod +x setup.sh
- Run
setup.sh.
sudo bash setup.sh
- Activate Environment.
source venv/bin/activate
- Run
main.py.
python main.py
- Enter a query at the prompt, for example:
- Final Interface:
What happens:
- FAIZ-AI performs parallel searches across configured protocols.
- Candidates are embedded and ranked by semantic similarity to your query.
- Top results are printed and saved to
faiz_results.json.
All runtime configuration lives in config/config.yaml. Example configuration (trimmed):
core:
model: "all-MiniLM-L6-v2" # SentenceTransformer model
timeout: 60 # global search timeout in seconds
protocols:
active: ["http", "ftp", "ipfs", "torrent"]
filetypes:
http: ["pdf", "docx", "txt", "mp4", "iso"]
safety:
blocked_extensions: [".exe", ".bat", ".sh"]
ftp:
public_servers:
- "ftp.freebsd.org"
- "ftp.kernel.org"Adjust config/config.yaml to enable/disable protocols, change the model, or set safety policies.
FAIZ-AI is provided as an educational/personal project. Use responsibly and in accordance with applicable laws.
FAIZ-AI is intended for educational and research purposes only. The author is not responsible for misuse or access to illegal or copyrighted material. Always follow local laws and ethical guidelines.
- Do not use FAIZ-AI to retrieve copyrighted material unless you have permission.
- The tool includes filters and safeguards, but protection is not guaranteed β review and verify results as appropriate.
- The project does not provide guarantees about the safety or legality of retrieved files.
Contributions are welcome. Suggested workflow:
- Fork the repository.
- Create a feature branch (e.g.,
feat/ipfs-improvements). - Add tests where applicable.
- Open a pull request describing the change.
Please keep changes focused and well-documented. If you want help drafting issues or breaking large features into tasks, open an issue describing your idea.
This repository is licensed under the MIT License β see the LICENSE file for details.
##Contact
E-mail: mufaizmalik9622@gmail.com
Instagram: https://www.instagram.com/muffaizz