imapfilter VS middleclass

Compare imapfilter vs middleclass and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
imapfilter middleclass
15 9
830 1,685
- -
4.8 0.0
10 days ago about 1 year ago
C Lua
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

imapfilter

Posts with mentions or reviews of imapfilter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-18.
  • Google will disable all but OAuth for IMAP, SMTP and POP starting Sept. 30
    7 projects | news.ycombinator.com | 18 Jan 2024
    Shouldn't be _too_ hard to convert your scripts.

    I ran into the same problem and one workspace disallows App passwords. You can simply get the OAuth token with a little python script and then use it as the password: https://github.com/google/gmail-oauth2-tools/blob/master/pyt...

    (see for example https://github.com/lefcha/imapfilter/issues/186)

  • Lua: The Little Language That Could
    16 projects | news.ycombinator.com | 28 May 2023
    My first real exposure to Lua was as the configuration language of imapfilter. Absolutely loved both.

    https://github.com/lefcha/imapfilter

  • Automaticallly Printing (from email?)
    1 project | /r/selfhosted | 6 May 2023
    Use [imapfilter](https://github.com/lefcha/imapfilter) to store the attachment in a local folder and delete/archive the mail. Then use something like [inotify](https://en.wikipedia.org/wiki/Inotify#:~:text=inotify%20(inode%20notify)%20is%20a,reports%20those%20changes%20to%20applications.)%20is%20a,reports%20those%20changes%20to%20applications.)) to run a script that sends the new pdf to the printer
  • Scriptable headless IMAP client?
    3 projects | /r/linuxquestions | 11 Apr 2023
    Imapfilter runs lua scripts. Since it's basically just a lua interpreter with a pre-imported library, you can pretty much do any processing you might like, but... IMHO it doesn't seem great: the documentation is so-so, the API is a bit clunky and lacks basic functionality (eg. you have to decode utf8 mime headers yourself) and (personal opinion) writing an imapfilter script is not easier than using an IMAP library in whatever your favorite programming/scripting language might be.
  • How to run a script to cleanup emails ?
    2 projects | /r/fastmail | 9 Mar 2023
    You could look at something like imapfilter. It's designed to do what you want, I think, though I've never used it.
  • Looking for help or alternative solutions to my current email workflow with ProtonMail
    2 projects | /r/PrivacyGuides | 9 Jan 2023
    I know this one is an issue, and for that you will want to use an email client with the bridge. I have used a protonmail docker container shenxn/protonmail-bridge-docker with imapfilter to provide client side filtering.
  • I have too much email - over 50 GB on Outlook and Gmail
    1 project | /r/techsupport | 4 Jan 2023
    If you can see yourself writing some scripts to clean it up, I can recommend imapfilter as a starting point. I learned enough Lua to be able to use this effectively. The "config" file is actually just a Lua script.
  • Command line email filters
    2 projects | /r/commandline | 1 May 2022
    I believe that Google still offers IMAP access (I think you need to set up app passwords, or possibly jump through some OAUTH hoops), letting you use something like imapfilter to set up rules, connecting to Gmail, then doing the filtering.
  • Spam filter that connects to mail server
    2 projects | /r/selfhosted | 16 Apr 2022
    imapfilter with a Lua script to send messages to Spamassassin.
  • Syncing E-Mail filters
    1 project | /r/email | 26 Dec 2021
    Another tool actually meant for this is imapfilter: https://github.com/lefcha/imapfilter

middleclass

Posts with mentions or reviews of middleclass. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-31.
  • Is there a way to create namespaces/hierarchy in the documentation with LDoc?
    3 projects | /r/lua | 31 May 2023
    I am trying to document my code and I am using LDoc for that and for OOP I am using the library middleclass. All of my classes are in a main framework folder and inside that I have each namespace as a folder and then classes that are specific to that namespace in those folders.
  • Lua: The Little Language That Could
    16 projects | news.ycombinator.com | 28 May 2023
    The ConTeXt typesetting system tightly integrates Lua. One aspect of Lua that I dislike is its inability to easily write OOP-ish code. What's impressive about the language is that it can be extended to do so in astonishingly little code:

    * https://github.com/kikito/middleclass

    With OOP in place, I was able to typeset a hexagonal grid and a symbolic representation of a neural network on top, using a more OOP-like approach. The classes are straightforward.

    A vertex defines a point in 2D space:

    * https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...

    An edge connects two vertices:

    * https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...

    A graph connects edges:

    * https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...

    A priority queue serves for ordering graph edges by weight of adjoining vertices:

    * https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...

    With these concepts in hand, we can typeset a grid and a "neural network" on top:

    * https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...

    Here's an example of the output for chapter 1:

    * https://i.ibb.co/19DCDZy/ch-1.png

    And chapter 14, where the "network" has grown in complexity:

    * https://i.ibb.co/ncf16vg/ch-2.png

    This is for my near future hard sci-fi book on AGI. I'm looking for alpha readers to give me feedback. See profile for contact details.

  • Doing what you love when the money won’t follow
    4 projects | news.ycombinator.com | 4 Nov 2022
  • To all plugin authors: standard class realization
    3 projects | /r/neovim | 1 Sep 2022
    To reduce the amount of boilerplate code, I created the fork of middleclass repo suitable for Neovim plugin managers: it just adds a symlink to middleclass.lua file in lua/ directory. middleclass is well known and tested, so I suggest using it as a standard class realization. I also open a pull request to merge it upstream.
  • Is doing OOP in lua considered bad practice?
    1 project | /r/lua | 11 Mar 2022
    Not exactly what op asked, but if you want classes in Lua definitely check out https://github.com/kikito/middleclass
  • Alternative to Love2d
    7 projects | /r/love2d | 10 Jul 2021
  • OOP in Love2d
    4 projects | /r/love2d | 25 Mar 2021
    Like /u/TheMightyHUG pointed out below, there are patterns you can use to do OOP without any extra help. In the past I have used some libraries to improve the ease of doing so, specifically middleclass: https://github.com/kikito/middleclass
  • A complete implementation of the Set data structure in Lua
    2 projects | /r/lua | 3 Jan 2021
    Same, but when I do I like when authors include everything in one file so it's easy to manage. Here we have the library, some small 10 line file with helper functions that's required and we also need to remember about the licence. Take middleclass as an example, one file, license included, ready to plug and develop.

What are some alternatives?

When comparing imapfilter and middleclass you can also consider the following projects:

imapfilter-tools - Tools to improve imapfilter for use as a reliable SPAM filtering service.

awesome-lua - A curated list of quality Lua packages and resources.

pyle-of-mail - A Python script that sorts all read emails from your mailbox.

pyxel - A retro game engine for Python

protonmail-bridge-docker - ProtonMail IMAP/SMTP Bridge Docker container

classic - Tiny class module for Lua

guix - Read-only mirror of GNU Guix — pull requests are ignored, see https://guix.gnu.org/en/manual/en/guix.html#Submitting-Patches instead

TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.

piccolo - An experimental stackless Lua VM implemented in pure Rust

moonscript - :crescent_moon: A language that compiles to Lua

himalaya - CLI to manage emails

CC-Tweaked - Just another ComputerCraft fork