1
0

🤖 Repository layout updated to latest version

This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
This commit is contained in:
Takunomi Automaticus, The 2nd 2024-10-26 15:19:24 +02:00
parent 2ba7ad904f
commit 3af8deef83
2 changed files with 55 additions and 2 deletions

View File

@ -4,6 +4,31 @@
Libpurple to markdown conversion script.
Conversion script for HTML-based logs from [Pidgin/Libpurple](https://pidgin.im/) chat program.
**This is an one-off script, and is not actively maintained.**
## Motivation
I recently discovered [Obsidian](https://obsidian.md) and liked the prospect of
cross-referencing my notes with my old chat logs. Libpurple uses HTML logs if
you haven't configured it to something else (which I haden't).
I no longer use IRC or Pidgin as my entire friend group have switched to using
Matrix.
## Usage
From the repository root:
```bash
python -m libpurple_to_markdown LOG_DIRECTORY --output OUTPUT_FOLDER
```
It was made specifically for import into Obsidian, so it might not suite your
purposes, but it shouldn't be too difficult to adjust.
## Dependencies
@ -15,6 +40,7 @@ pip install -r requirements.txt
```
Full list of requirements:
- [beautifulsoup4](https://pypi.org/project/beautifulsoup4/)
## License

View File

@ -11,10 +11,35 @@ from setuptools import setup
PACKAGE_NAME = 'libpurple_to_markdown'
PACKAGE_DESCRIPTION = """
Libpurple to markdown conversion script.
Conversion script for HTML-based logs from [Pidgin/Libpurple](https://pidgin.im/) chat program.
**This is an one-off script, and is not actively maintained.**
## Motivation
I recently discovered [Obsidian](https://obsidian.md) and liked the prospect of
cross-referencing my notes with my old chat logs. Libpurple uses HTML logs if
you haven't configured it to something else (which I haden't).
I no longer use IRC or Pidgin as my entire friend group have switched to using
Matrix.
## Usage
From the repository root:
```bash
python -m libpurple_to_markdown LOG_DIRECTORY --output OUTPUT_FOLDER
```
It was made specifically for import into Obsidian, so it might not suite your
purposes, but it shouldn't be too difficult to adjust.
""".strip()
PACKAGE_DESCRIPTION_SHORT = """
""".strip()
Libpurple to markdown conversion script.""".strip()
def parse_version_file(text: str) -> str:
@ -29,7 +54,9 @@ with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read())
REQUIREMENTS_MAIN = []
REQUIREMENTS_MAIN = [
'beautifulsoup4',
]
REQUIREMENTS_TEST = []