🤖 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:
parent
2ba7ad904f
commit
3af8deef83
26
README.md
26
README.md
|
@ -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
|
## Dependencies
|
||||||
|
@ -15,6 +40,7 @@ pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Full list of requirements:
|
Full list of requirements:
|
||||||
|
- [beautifulsoup4](https://pypi.org/project/beautifulsoup4/)
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
31
setup.py
31
setup.py
|
@ -11,10 +11,35 @@ from setuptools import setup
|
||||||
PACKAGE_NAME = 'libpurple_to_markdown'
|
PACKAGE_NAME = 'libpurple_to_markdown'
|
||||||
|
|
||||||
PACKAGE_DESCRIPTION = """
|
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()
|
""".strip()
|
||||||
|
|
||||||
PACKAGE_DESCRIPTION_SHORT = """
|
PACKAGE_DESCRIPTION_SHORT = """
|
||||||
""".strip()
|
Libpurple to markdown conversion script.""".strip()
|
||||||
|
|
||||||
|
|
||||||
def parse_version_file(text: str) -> str:
|
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())
|
version = parse_version_file(f.read())
|
||||||
|
|
||||||
|
|
||||||
REQUIREMENTS_MAIN = []
|
REQUIREMENTS_MAIN = [
|
||||||
|
'beautifulsoup4',
|
||||||
|
]
|
||||||
REQUIREMENTS_TEST = []
|
REQUIREMENTS_TEST = []
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user