Skip to content

open-flash/swf-parser

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
rs
 
 
 
 
ts
 
 
 
 
 
 
 
 
 
 
 
 
Open Flash logo

SWF Parser

GitHub repository

SWF parser implemented in Rust and Typescript (Node and browser). Converts bytes to swf-types movies.

Implementation Package Checks Documentation
Rust crates.io crate Rust checks status docs.rs/swf-parser
TypeScript npm package TypeScript checks status Source Code ¯\_(ツ)_/¯

This library is part of the Open Flash project.

Usage

Goal

The goal is to provide a complete SWF parser. The initial implementation requires the movie to be fully buffered before parsing but incremental parsing (for streams) is planned. This parser should be easily embeddable: it is intended for SWF players, analysis tools or any other project having to manipulate SWF files.

Status

Ready for use.

The Rust and Typescript implementations are kept in sync. They both have complete support for SWF file format specification. Help is welcome to improve ergonomics and performance of the parser.

Contributing

Each implementation lives in its own directory (rs or ts). The commands must be executed from these "project roots", not from the "repo root".

Check the implementation-specific guides:

You can also use the library and report any issues you encounter on the Github issues page.

About

Rust and Typescript parsers for SWF

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages