The SMS Extractor
is a tool that extracts text messages from an XML file and summarizes them in Markdown format, for intended use in Obidian.md. The tool uses the requests
library to send the extracted messages to the Ollama API for summary generation, to keep everything offline and secure.
To install the SMS Extractor
, follow these steps:
- Clone the repository:
git clone https://github.com/bscholer/SMS-Extractor.git
- Navigate to the repository directory and run the tool:
python SMS_Extractor.py
- Extracts text messages from an XML file
- Summarizes the extracted messages using the Obsidian platform
- Generates a new file for each day of data in the XML file
-
Open the script and specify the path to the XML file containing the text messages (
sms_extractor.py
) -
Run the tool:
python sms_extractor.py
- The tool will extract and summarize the text messages in the XML file for each day, generating a new file for each day.