Skip to content

Net Parser v0.2.0-alpha

Choose a tag to compare

@worthant worthant released this 10 Mar 05:00
· 13 commits to master since this release

This pre-release adds a text encoding sanitizer utility to the parser toolkit, helping fix encoding issues in already extracted text files.

New in This Release

  • Text encoding sanitizer utility
  • Improved handling of Windows-1251 character encoding
  • Better detection of encoding issues in .txt files

Current Net parser features

  • Decode .fdb files to .txt
  • Fix encoding issues in text files
  • Handle proper character encoding (Windows-1251)
  • Preserve file structure with tags
  • Process hex-encoded content
  • Extract question data with titles, options, and answers

Installation

# Clone the repository
git clone https://github.com/yourusername/fdb-parser.git

# Install dependencies
cd fdb-parser
npm install

# Build the project
npm run build

Usage

# Convert an FDB file to text
node dist/converters/fdb-to-txt.js path/to/file.fdb output.txt

# Fix encoding issues in a text file
node dist/utils/txt-sanitizer.js input.txt output.txt

Roadmap progress

  • .fdb -> .txt
  • .txt encoding health check & sanitizer utility
  • .fdb to .md -> .pdf; mapping pics dir
  • .fdb -> .json

Current Issues

  • Tags tv_d, tv_p, tv_i and group structures still not fully understood
  • "Deleted!" tasks need to be handled properly in exporters
  • Image paths in pics/ require normalization for different systems