Skip to content

mufaizz/FAIZ-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FAIZ-AI β€” > It is an interactive CLI-based AI search engine.

License: MIT

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

Table of contents


Highlights

  • 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 model all-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.

Features

  • 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)
  • 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)
  • Output
    • Real-time logs during scanning
    • Final ranked results saved to faiz_results.json

Install

Prerequisites

  • Python 3.8+
  • pip
  • Linux/Unix environment recommended for automated script

Setup and Usage

  1. Clone Repository or Download ZIP. Open Terminal and Paste This:
git clone https://github.com/mufaizz/FAIZ-AI.git
  1. Make setup.sh executable. Type:
chmod +x setup.sh
  1. Run setup.sh.
sudo bash setup.sh
oie_1Hbw91JKkt13
  1. Activate Environment.
source venv/bin/activate
oie_PrKev1XF86d1
  1. Run main.py.
python main.py
oie_MRveXXCQyxtN
  1. Enter a query at the prompt, for example:
oie_r5S7GejDZqfN
  1. Final Interface:
oie_39wRwc9y7N9y

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.

Configuration

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.


Safety & legal

FAIZ-AI is provided as an educational/personal project. Use responsibly and in accordance with applicable laws.

⚠️ Disclaimer

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.

Contributing

Contributions are welcome. Suggested workflow:

  1. Fork the repository.
  2. Create a feature branch (e.g., feat/ipfs-improvements).
  3. Add tests where applicable.
  4. 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.


License

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

About

FAIZ AI πŸ” – The search bot that finds what others miss. Searches HTTP, FTP, IPFS & Torrent with semantic vector embeddings + deep-web agents. Features intent/spell correction & file safety verification. ⚑ Python CLI tool. If you search deep web tools, semantic search, or multi-protocol crawlers

Topics

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Contributors