# 📁 HBF - Hybrid Binary Format
**HBF** es un formato de archivo todo en uno que combina texto, binario, metadatos, listas y datos numéricos en un solo archivo. Creado desde Termux para ser simple, útil y portable.
---
## 🚀 Características
| Característica | Descripción |
|----------------|-------------|
| 📝 **Texto** | Contenido principal del archivo |
| 📊 **Metadatos** | Título, autor y fecha |
| 🖼️ **Binario** | Guarda imágenes, archivos, etc. en base64 |
| 📋 **Listas** | Listas jerárquicas |
| 🔢 **Numérico** | Datos numéricos estructurados |
| 📌 **Notas** | Notas personales o técnicas |
| 🌍 **Bilingüe** | Español / Inglés (seleccionable al inicio) |
| 🔒 **Cifrado** | Protege archivos con contraseña (AES) |
| 🔗 **Combinar** | Une dos archivos HBF en uno |
| 📤 **Exportar** | Exporta a TXT, JSON o MD |
| 🔍 **Buscar** | Busca palabras dentro del archivo |
| 📂 **Listar** | Muestra todos los HBF en Download |
---
## 📦 Instalación
### Opción 1: Desde el paquete `.deb`
```bash
dpkg -i hbf_2.0.0_all.deb
Opción 2: Desde el código fuente
git clone https://github.com/LucassogarayDA/hbf.git
cd hbf
python hbf.py
Dependencias
· Python 3 · cryptography (para el cifrado)
pkg install python python-cryptography
🛠️ Uso
Ejecutá el comando y seguí el menú interactivo:
hbf
Al abrir, vas a poder elegir el idioma:
Select language / Elegí idioma:
1. Español
2. English
📋 Menú completo
1. 📝 Crear HBF
2. 📖 Leer HBF
3. 🖼️ Guardar binario
4. 📤 Extraer binario
5. ✏️ Editar TEXTO
6. 📋 Editar LISTAS
7. 💬 Editar NOTAS
8. 🔢 Editar NUMERICO
9. 🏷️ Editar TITULOS
10. 📝 Editar METADATOS
11. 📤 Exportar
12. 🔍 Buscar
13. 📂 Listar HBF
14. 📊 Estadísticas
15. 🎨 Colores
16. 🔗 Combinar HBF
17. 📲 Compartir
18. 🔒 Proteger con clave
19. 🚪 Salir
📂 Ejemplo de archivo HBF
[HBF]
Version: 2.0.0
Magic: HBF
Fecha: 2026-08-07T00:00:00
[METADATOS]
{
"titulo": "Mi proyecto",
"autor": "Lucas Sogaray"
}
[TEXTO]
Este es el contenido principal del archivo.
Puede tener múltiples líneas.
[LISTAS]
- Tarea 1
- Tarea 2
- Subtarea A
- Subtarea B
[NOTAS]
Recordatorio: Subir a GitHub.
[FIN]
🧪 Probar HBF
Crear un archivo
hbf
Opción 1 → Nombre del archivo: prueba
Leer un archivo
hbf
Opción 2 → Nombre del archivo: prueba.hbf
Exportar a TXT
hbf
Opción 11 → Seleccionar archivo → Formato 1 (TXT)
🔒 Proteger con contraseña
hbf
Opción 18 → Elegir archivo → Opción 1 (Cifrar) → Ingresar contraseña
El archivo cifrado se guarda con extensión .hbf.enc
📦 Crear el paquete .deb
mkdir -p hbf_package/DEBIAN
mkdir -p hbf_package/data/data/com.termux/files/usr/bin
cp hbf.py hbf_package/data/data/com.termux/files/usr/bin/hbf
chmod +x hbf_package/data/data/com.termux/files/usr/bin/hbf
echo "Package: hbf
Version: 2.0.0
Architecture: all
Maintainer: Lucas Sogaray <lucassogaray72@gmail.com>
Depends: python, python-cryptography
Description: Hybrid Binary Format - Un formato de archivo todo en uno" > hbf_package/DEBIAN/control
chmod 755 hbf_package/DEBIAN
dpkg-deb --build hbf_package
mv hbf_package.deb hbf_2.0.0_all.deb
🛣️ Roadmap
☑ Formato HBF básico ☑ Binario (base64) ☑ Edición de bloques ☑ Exportar a TXT, JSON, MD ☑ Búsqueda ☑ Estadísticas ☑ Combinar HBF ☑ Cifrado con contraseña ☑ Idiomas (Español/Inglés) ☑ Paquete .deb ☐ Modo oscuro ☐ Guardar configuración de colores ☐ Compartir directamente por WhatsApp
📄 Licencia
Este proyecto está bajo la licencia MIT. Podés usarlo, modificarlo y distribuirlo libremente.
👤 Autor
Lucas Sogaray
· GitHub: @LucassogarayDA · Email: lucassogaray72@gmail.com
⭐ ¿Te gusta HBF?
Si te gusta el proyecto, dejale una estrella en GitHub ⭐ y compartilo con otros.
📬 Contacto
Si tenés preguntas, sugerencias o encontrás un error, podés abrir un Issue en GitHub o contactarme por email.
Hecho con 💻 y ☕ desde Termux
---
## 💾 Guardar y subir
```bash
git add README.md
git commit -m "README actualizado con toda la info"
git push
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hbf_hyper-2.1.1.tar.gz.
File metadata
- Download URL: hbf_hyper-2.1.1.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227aaba447760cc5b5f2b644481f081623de272f2dbf9363656b21ed7a553b9d
|
|
| MD5 |
c0c36914c3358850a0f383111e478026
|
|
| BLAKE2b-256 |
68b17a79f0dd2f615fa6ed10cfa6b9b698010e99db2cc6542c47a2e57eed2a07
|
Provenance
The following attestation bundles were made for hbf_hyper-2.1.1.tar.gz:
Publisher:
publish.yml on lucassogarayDA/hbf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hbf_hyper-2.1.1.tar.gz -
Subject digest:
227aaba447760cc5b5f2b644481f081623de272f2dbf9363656b21ed7a553b9d - Sigstore transparency entry: 2388065784
- Sigstore integration time:
-
Permalink:
lucassogarayDA/hbf@39c2cd9013a7872114b1206cebeb596601bdd414 -
Branch / Tag:
refs/tags/v2.1.6 - Owner: https://github.com/lucassogarayDA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@39c2cd9013a7872114b1206cebeb596601bdd414 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hbf_hyper-2.1.1-py3-none-any.whl.
File metadata
- Download URL: hbf_hyper-2.1.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e50f3919ef11033ab53f644384c950cb54a45fceed95ad92c8b9c9c7abce86c0
|
|
| MD5 |
d092e15b69798078dc445eb04a9c1d2c
|
|
| BLAKE2b-256 |
5fa6a660d7daca9b05c58d62205c94d59bbdde9facc2d5a964a81ac7ebb86773
|
Provenance
The following attestation bundles were made for hbf_hyper-2.1.1-py3-none-any.whl:
Publisher:
publish.yml on lucassogarayDA/hbf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hbf_hyper-2.1.1-py3-none-any.whl -
Subject digest:
e50f3919ef11033ab53f644384c950cb54a45fceed95ad92c8b9c9c7abce86c0 - Sigstore transparency entry: 2388065807
- Sigstore integration time:
-
Permalink:
lucassogarayDA/hbf@39c2cd9013a7872114b1206cebeb596601bdd414 -
Branch / Tag:
refs/tags/v2.1.6 - Owner: https://github.com/lucassogarayDA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@39c2cd9013a7872114b1206cebeb596601bdd414 -
Trigger Event:
push
-
Statement type: