1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2024-12-25 00:00:54 +01:00
Mirror of the repository for tinmop (a client for pleroma with a terminal interface), please point the browser to https://codeberg.org/cage/tinmop/issues to report issues. https://www.autistici.org/interzona/tinmop.html
Go to file
cage e4539323c7 - fixed "fs:file-permissions";
- added "os-utils:find-executable-path".
2024-12-22 17:05:31 +01:00
ci - fixed event triggered by backspace when the keybinding suggestion 2022-02-23 20:17:39 +01:00
data - [script] capitalized gemlog link labels. 2024-12-14 15:10:53 +01:00
debian - applyed the same theme of gemtext widget to gemtext TOC. 2024-12-04 15:56:35 +01:00
doc - updated documentation. 2024-12-17 18:41:10 +01:00
etc - changed command's' keychord; 2024-12-01 20:26:45 +01:00
m4
po - [GUI] added contextual menu button to open a link with an external default program; 2024-12-17 18:26:19 +01:00
src - fixed "fs:file-permissions"; 2024-12-22 17:05:31 +01:00
.gitignore - update version number building scrips and changelog. 2024-09-27 14:49:21 +02:00
aclocal.m4 - [GUI] added UI to generate a gempub; 2024-09-18 17:03:00 +02:00
AUTHORS
ChangeLog - updated NEWS file and changelog. 2024-12-12 15:20:11 +01:00
compare_version.awk
compile - added more tests in configure.ac 2022-02-18 10:52:38 +01:00
config.guess - added more tests in configure.ac 2022-02-18 10:52:38 +01:00
config.rpath - initial commit. 2020-05-08 15:45:43 +02:00
config.sub - added more tests in configure.ac 2022-02-18 10:52:38 +01:00
configure - [GUI] prevented (using a workaround) a crash when an external program can not be found. 2024-12-15 17:21:59 +01:00
configure.ac - [GUI] prevented (using a workaround) a crash when an external program can not be found. 2024-12-15 17:21:59 +01:00
CONTRIBUTING.org - mentioned the translations web interface. 2023-06-25 13:12:26 +02:00
COPYING - initial commit. 2020-05-08 15:45:43 +02:00
install-sh - prevented stripping of directory for data and doc files; 2021-08-05 16:07:06 +02:00
LICENSES.org fix typos; joint work with codespell(1) 2024-09-01 10:48:44 +02:00
lisp-dependencies - removed references to osicat. 2024-04-21 19:40:55 +02:00
Makefile.am - [GUI] displayed a placeholder image when inlining failed. 2024-12-13 14:21:47 +01:00
Makefile.in - [GUI] prevented (using a workaround) a crash when an external program can not be found. 2024-12-15 17:21:59 +01:00
missing - added more tests in configure.ac 2022-02-18 10:52:38 +01:00
NEWS.org - updated documentation. 2024-12-17 18:41:10 +01:00
quick_quicklisp.sh.in - updated croatoan commit to clone for building the project. 2024-12-05 15:26:06 +01:00
README.org - changed croatoan repository url. 2024-09-27 14:37:24 +02:00
tinmop.asd - [GUI] displayed a placeholder image when inlining failed. 2024-12-13 14:21:47 +01:00

tinmop

Translation status

Introduction

Tinmop is an opinionated client for gemini protocol, Gopher, Mastodon, Pleroma (using the mastodon API) and kamid protocols. It offer a distraction free terminal interface and a GUI for connecting to the geminispace.

The name is a recursive acronym: "Tinmop Is Not Mutt or Pine". The older of us can remember that, in turn, Pine is sometimes considered an acronym as well: "Pine Is Not Elm" and, finally, Elm means (according to Wikipedia): "Electronic Mail".

Peculiar Features

  • tree structure of messages;
  • subscriptions of hashtag;
  • programmable and extensible;
  • encrypted direct message (but see /cage/tinmop/src/commit/e4539323c747741e799dd55cc5e66f98e87ee3dd/FAQ);
  • no mentions notification, no knowledge of when or who favourited your status;
  • No blocking or muting, the client can be configured to ignore a list of accounts.

Important note

This is alpha quality software, many things are broken, some feature are missing some works with unintended/unexpected side effects; this software is for testing only and remember that there is NO WARRANTY.

Dependency

Programs

  • to build the package:

    • C compiler
    • SBCL compiler;
    • curl
    • xgettext.
  • to install the package, including running the script to install lisp libraries (quick_quicklisp.sh):

    • AWK;
    • git.
  • to run the program:

    • xdg-open;
    • openssl;
    • unzip (command line utility to decompress zip file);
    • TK wish interpreter;
    • your favourite editor (default: nano).
  • optional recommended programs:

    • man
    • imagemagick

All the dependencies above should be available using the package manager of your distribution (apt, yum etc).

Lisp Libraries

  • access;
  • alexandria;
  • babel;
  • bordeaux-threads;
  • cl+ssl;
  • cl-base64;
  • cl-colors2;
  • cl-html5-parser;
  • cl-i18n;
  • cl-ppcre-unicode;
  • cl-spark;
  • clunit2;
  • croatoan;
  • crypto-shortcuts;
  • drakma;
  • esrap;
  • flexi-streams;
  • ieee-floats;
  • local-time;
  • log4cl;
  • marshal;
  • nodgui;
  • parse-number;
  • percent-encoding;
  • purgatory;
  • sqlite;
  • sxql;
  • sxql-composer;
  • tooter;
  • trivial-clipboard;
  • uiop;
  • unix-opts;
  • usocket;
  • yason.

All these libraries will be downloaded, compiled and installed by the script quick_quicklisp.sh, see below.

Foreign (C language) library

  • libssl (TLS socket)

    The C library should be installed with their header (*.h) files. On Debian or derived system this means installing the library package with the -dev suffix as shown below:

    # apt-get install libssl-dev

Indirect foreign dependencies

These library are not directly required by tinmop, but are needed nevertheless to make the GUI library (nodgui) works.

# apt-get install tk libturbojpeg0-dev

Note that, at the moment, the quick_quicklisp.sh script will not install the foreign dependencies.

Install

Using guix

Using guix is the simpler way to install this software:

$ guix pull && guix package -u && guix install tinmop

Guix can be installed on debian (testing or sid):

$ apt-get install guix

or using a shell script as explained in the guix manual.

From source

  1. optional step needed only if you have not already the configure script, you will need autotools for that.

    $ autoreconf -fiv
  2. run configure and resolve the missing dependencies (if any)

    $ ./configure
  3. the script quick-quicklisp.sh will download and install the library manager and the lisp libraries on your home dir.

    $ ./quick_quicklisp.sh

    This step is optional if you have already installed quicklisp, in this case just load the dependencies using the client installed on your computer.

  4. optional step if you did not ran quick-quicklisp.sh.

    Clone in $HOME/quicklisp/local-projects/ the latest version of croatoan, a library to wrap the ncurses TUI library.

    This step is temporary as this version will get into quicklisp eventually.

    $ cd $HOME/quicklisp/local-projects/
    $ git clone https://codeberg.org/McParen/croatoan.git
  5. build the executable:

    $ make
  6. install on your system:

    # make install
  7. take a look the manpage:

    $ man tinmop
  8. run the software!

    $ tinmop
  9. An error will be printed about a missing file place a simple configuration file in one of the directory the software indicated. See the FAQ below.

Usage

See the command line options:

 $ tinmop -h

To get instruction about configuration:

 $ man tinmop

BUGS

Please file bug reports on the repository.

Translations

Only Italian translation is regularly updated.

To help with translations please go here.

License

This program is released under GNU General Public license version 3 or later (see COPYING file).

The program use data and code from other sources, please see LICENSES.org for credits.

Although any efforts has been put to make the list of credits exhaustive, errors are always possible. Please send correction to cage-dev at twistfold dot it.

Privacy

The author of this software collects no user data information with this software.

But this software is a client to connect and interact to one or more remote computer. So potentially it could share a lot of information with other actors but just after the user allowed it to do so.

It is the user responsibility to checks the privacy conditions of the instance this software connect to.

Moreover launching quick_quicklisp.sh will contact https://www.quicklisp.org/, check the quicklisp sources for details.

By default, pressing "!" will contact the remote service located at: "gemini://kennedy.gemi.dev/search".

Contributing

Any help is appreciated. If you intend to contribute please point your browser to the issue tracker or file a pull request.

But, please, take a minute to read the file /cage/tinmop/src/commit/e4539323c747741e799dd55cc5e66f98e87ee3dd/CONTRIBUTING.org before

FAQ

  • I just tried to start the program for the first time but it give me a weird error, what's wrong?

    Did you wrote a configuration file before starting?

    Tinmop expects a configuration file in your config directory (usually $HOME/.config/tinmop/). This file must contains at least the username and the name of the instance you want to connect.

    Example :

      # a line starting with a '#' is a comment
    
      # a file can be included in another with this directive:
      # use "shared.conf"
    
      # The server instance name
      server = server address
    
      # your username
      username = username

    If this file does not exists or is invalid tinmop could be used just as a gemini client. Please check the man page (tinmop(1)) for more information.

  • The quick_quicklisp.sh script failed and refuse to start again, what can I do? If tinmop is the first Common lisp program you have ever installed installed, try to rename the directory $/HOME/quicklisp and, then, restart the script. If problem persists contact me.
  • Is tinmop compatible with mastodon servers? Yes, in fact I am using tinmop with a Mastodon istance on a daily basis.
  • OK the program is running but how can i use it? Press the key ? to get a list of the available keys available.
  • Tinmop crashed! Where can i report that? The issue tracker is here: https://codeberg.org/cage/tinmop/issues/ Please also, if possible, send the backtrace of the process. To print a backtrace just write backtrace when the debugger has been invoked. Important note The backtrace can contains sensitive and personal information, please always carefully checks the backtrace contents before making this information public!
  • Are the encrypted messages secure? No. First only a symmetric encryption scheme is implemented (so there is a problem of secure key exchanging). Moreover i am not a crypto expert and probably i made something wrong. Note that i am not claiming that the algorithm (AES256) or the implementation of such encrypting algorithm is flawed but that, likely, is flawed the code i wrote to use the crypto library in this software. So, please do not consider the encrypted message secure at all.

NO WARRANTY

tinmop: a multiprotocol client Copyright © cage

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Acknowledgment

My deep thanks to the folks that provided us with wonderful SBCL and Common lisp libraries.

In particular i want to thanks the authors of the libraries Croatoan and Tooter for their help when I started to develop this program.

There are more people i borrowed code and data from, they are mentioned in the file LICENSES.org

This program is was born also with the help of CCCP: "Collettivo Computer Club Palermo".

Also thanks to "barbar" for testing of the installation scripts.