Skip to content

emacsomancer/erc-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

                     _                             
   ___ _ __ ___     | | ___   __ _  __ _  ___ _ __ 
  / _ \ '__/ __|____| |/ _ \ / _` |/ _` |/ _ \ '__|
 |  __/ | | (_|_____| | (_) | (_| | (_| |  __/ |   
  \___|_|  \___|    |_|\___/ \__, |\__, |\___|_|   
                             |___/ |___/           

Introduction

This is a simple irc logger written in elisp! It's used for logging all the irc channels you've joined and automatically organizing them into folders by date.

Intallation

  1. clone this repo to any location
  2. add the path of the repo to load-path
  3. byte compile the source file erc-logger.el using byte-compile-file

Configuration

write the following config with any file name (eg. .erc.emacs)

;; .erc.emacs

(add-to-list 'load-path "__PATH_TO_THE_REPO__")
(require 'erc-logger)
(require 'erc-join)

;; You may customize some options using
;; M-x customize-group  erc-logger 

(erc-autojoin-mode 1)
(erc :server "irc.libera.chat" :port 6667 :nick "__YOUR_NICKNAME__" :password "__YOUR_PASSWORD__")
(setq erc-autojoin-channels-alist '(("libera.chat" "#c" "#c++" "#linux"
                                     "#lisp" "##c++" "#clasp" "#clojure" "#guile"
                                      "#vim" "#neovim" "#emacs" "#erc")))
(erc-logger-log-start))))

Usage

You can run with emacs daemon

emacs -l /path/to/.erc.emacs --daemon=/path/to/socket-file

and connect with emacs-client

emacs-client -nw -c -s /path/to/socket-file

You can join new channel at run time using /join.

About

A simple irc logger written in elisp!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%