Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/week-end-manufacture/xfloor
An app that classifies file lists through crawling
https://github.com/week-end-manufacture/xfloor
cli-program homebrew python
Last synced: 3 days ago
JSON representation
An app that classifies file lists through crawling
- Host: GitHub
- URL: https://github.com/week-end-manufacture/xfloor
- Owner: week-end-manufacture
- License: mit
- Created: 2024-12-07T07:12:54.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2025-01-06T10:57:28.000Z (4 days ago)
- Last Synced: 2025-01-06T11:38:57.114Z (4 days ago)
- Topics: cli-program, homebrew, python
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xfloor
An app that classifies file lists through crawling.
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
- [Contributing](#contributing)
- [License](#license)## Introduction
`xfloor` is an application that classifies file lists and retrieves additional information through web crawling. It fetches the file list from a given directory, classifies the files based on their extensions, and retrieves additional information from specific websites.
## Features
- Fetch file list from a directory
- Classify files based on their extensions
- Retrieve additional information about files through web crawling
- Set environment variables through a JSON file
- Handle exceptions for reliable network requests## Installation
1. Clone this repository:
```sh
git clone https://github.com/week-end-manufacture/xfloor.git
cd xfloor
```2. Install the required packages:
```sh
pip install -r requirements.txt
```## Usage
1. Set up the `config.json` file. Example:
```json
{
"FLIB_VERSION": "1.0.0",
"URL_LIST": ["http://example.com", "http://example.org"]
}
```2. Run the application:
```sh
python main.py -i -o
```Example:
```sh
python main.py -i ./src -o ./dst
```## Configuration
You can set environment variables through the `config.json` file. Example:
```json
{
"FLIB_VERSION": "1.0.0",
"URL_LIST": ["http://example.com", "http://example.org"]
}