Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farhaanbukhsh/zim-tools
https://github.com/farhaanbukhsh/zim-tools
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/farhaanbukhsh/zim-tools
- Owner: farhaanbukhsh
- Created: 2015-07-30T06:32:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-30T07:05:41.000Z (over 9 years ago)
- Last Synced: 2023-12-15T10:14:42.487Z (11 months ago)
- Language: Python
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zim-Tools
This script is written to backup your irc logs to your zimwiki. It uses *Python 2*. It simply copies the log from irc log file and creates a zim page and writes into it.#Usage
You just have to run the script as :`$python irc_to_zim_logs.py`
#Tweaks
Various tweeks you need to make to utilise this script.
On line 17
`log_file = open('source', 'r')`
Replace 'source' with the log file from your irc client , For eg:/home/farhaan/.xchat2/xchatlogs/FreeNode-#dgplug.log
On line 27
`zim_file = open('destination'+file_name+'.txt','a')`
Replace 'destination' with the zim folder in your zim directory, For eg: /home/farhaan/Notebooks/Notes/Dg_Plug/
#Links
[Zim-Wiki](http://zim-wiki.org/)
Use it
#License
'Feel free to use'™ , just give credits to the author else you will be punished by your guilt in the middle of the night.