Code Monkey home page Code Monkey logo

convert-ichat-files's Introduction

Convert ichat Files

If you have .ichat logs floating around your hard drive and wish that you didn't have to open them with iChat/Messages in order to read them, then this program is for you; it will convert .ichat files to either RTF or plain-text, depending on your preference.

I have included a prebuilt binary in the Build folder โ€” it was built for macOS, but the source code is platform-agnostic as far as I know, being written in C, so you should be able to build CiF for Windows or Linux.

Downloading

Regular users can simply choose to download this project as a ZIP using the "Code" button.

Running

If you use the prebuilt version of the app in Build/ directly, it must be invoked from the command line as "./Build/Convert ichat Files". For documentation, simply run the program without any arguments. CiF only converts a single .ichat file at a time.

To run the program on a directory full of .ichat files, use the Bash script "batch_convert_ichat_files.sh" from your command line:

./batch_convert_ichat_files.sh folder_with_ichat_files

Notes

  • This program was developed only as far as was needed to convert my set of test files (about 600 logs). It's likely that there are various quirks in .ichat files out there in the wild that this program does not account for; feel free to report a bug if you find one.
  • This program is not fully Unicode-friendly, so names in a non-English alphabet may not be supported without a little additional work.

Preview

RTF sample

TXT sample

convert-ichat-files's People

Contributors

mlamethyst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

convert-ichat-files's Issues

Two errors when running

I'm getting the following two errors when running this program on a Mac command line:

Error: Not able to read a 3 byte int.

Failed test on line 167 in /tmp/CiFbuild/Source/ichatReader.c.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.