Viewer for NFO files

Overview

NFO Viewer

Test Packages Flathub Gitter

NFO Viewer is a simple viewer for NFO files, which are "ASCII" art in the CP437 codepage. The advantages of using NFO Viewer instead of a text editor are preset font and encoding settings, automatic window size and clickable hyperlinks.

Installing

Linux

Packages

NFO Viewer is packaged for most of the popular distros, so easiest is to install via your distro's package management. If not packaged for your distro or you need a newer version than packaged, read below on how to install from Flatpak or the source code.

Flatpak

Stable releases are available via Flathub.

The development version can be installed by running command make install under the flatpak directory. You need make, flatpak-builder and gettext to build the Flatpak.

Source

NFO Viewer requires Python ≥ 3.2, PyGObject ≥ 3.0.0 and GTK ≥ 3.12. You also need a font that supports the kinds of glyphs commonly used in NFO files: Cascadia Code is a good choice and used by NFO Viewer by default, if available. During installation you will also need gettext. On Debian/Ubuntu you can install these with the following command.

sudo apt install fonts-cascadia-code \
                 gettext \
                 gir1.2-gtk-3.0 \
                 python3 \
                 python3-gi

Then, to install NFO Viewer, run command

sudo python3 setup.py install --prefix=/usr/local

Windows

Windows installers are built irregularly, see releases.

Comments
  • Can't run it anymore (ModuleNotFoundError).

    Can't run it anymore (ModuleNotFoundError).

    Starting today, I can't run it anymore. I'm getting this error message:

    >nfoview
    Traceback (most recent call last):
    File "/usr/local/bin/nfoview", line 16, in <module>
    import nfoview
    ModuleNotFoundError: No module named 'nfoview'
    >
    

    It happened today, after Python upgrade (through repositories). I'm at PCLinux.

    >python3 -V
    Python 3.10.6
    >
    

    NFOView latest version from here (NOT the repo version).

    opened by Achaean 5
  • Extended ASCII (ISO/IEC 8859-1 / CP819) support

    Extended ASCII (ISO/IEC 8859-1 / CP819) support

    Thanks for an awesome .NFO/.DIZ viewer! I use it everyday and reminisce about old times. Do you plan to add extended ASCII as a possible enhancement someday?

    opened by ThurahT 3
  • Homepage link in

    Homepage link in "About" box, is broken (Windows).

    V1.23 installed on Win 10 x64 v.10.0.15063. Workaround: Right click -> "Copy Link Address" -> paste in browser.

    Sidequestion: 32-bit apps aren't so stable on 64 Windows. Is it possible to compile it as native 64 app? How?

    opened by Achaean 3
  • appstream 'mimetypes' tag is deprecated

    appstream 'mimetypes' tag is deprecated

    The toplevel mimetypes tag (used in io.otsaloma.nfoview.appdata.xml) is deprecated in favour of mediatype tags in a provides block to indicate that your software provides a media handler for the given types.

    See docs at freedesktop.org.

    opened by jcfp 1
  • Sort .po input file list

    Sort .po input file list

    Sort .po input file list so that nfoview.desktop and nfoview.appdata.xml builds in a reproducible way in spite of indeterministic filesystem readdir order and http://bugs.python.org/issue30461

    See https://reproducible-builds.org/ for why this is good.

    I thought, I had tested that #13 fixed all of it, but there was still variation in nfoview.appdata.xml now that went away with this patch.

    opened by bmwiedemann 1
  • Sort input file list

    Sort input file list

    so that .desktop and appdata.xml files build in a reproducible way in spite of indeterministic filesystem readdir order and http://bugs.python.org/issue30461

    See https://reproducible-builds.org/ for why this is good.

    opened by bmwiedemann 1
  • update appstream metadata install location

    update appstream metadata install location

    because apparently, "appdata" is a legacy location.

    See section 2.1.2 at https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html and https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html

    opened by jcfp 1
  • Package for ubuntu

    Package for ubuntu

    I would really like to see this as a package as i can select easily open with... for .nfo's and set it as the default for those. Because right now is very difficult to open .nfo's in samba shares for me

    opened by Ntemis 1
  • Migrate screen size calculations

    Migrate screen size calculations

    nfoview/window.py:274: DeprecationWarning: Gdk.Screen.width is deprecated
      size[0] = min(size[0], int(0.8 * Gdk.Screen.width()))
    nfoview/window.py:275: DeprecationWarning: Gdk.Screen.height is deprecated
      size[1] = min(size[1], int(0.8 * Gdk.Screen.height()))
    
    opened by otsaloma 1
  • Flickering mouse cursor on Windows

    Flickering mouse cursor on Windows

    Mouse cursor doesn't change to a hand when hovering over a link, but it flickers like it changes for a very brief moment. Clicking links seems to work fine though.

    With GTK+ 3.18 from pygi-aio.

    opened by otsaloma 1
  • Gtk.Widget.override_* are deprecated

    Gtk.Widget.override_* are deprecated

    Since GTK+ 3.16.

    • Gtk.Widget.override_font
    • Gtk.Widget.override_color
    • Gtk.Widget.override_background_color
    • Gtk.StyleContext.get_background_color

    Use CSS instead.

    opened by otsaloma 1
Releases(1.29)
  • 1.29(Oct 3, 2022)

    • Fix font name quoting in Gtk CSS
    • Use make for installation instead of plain setup.py, see the README file for the new installation commands, and Makefile for the details
    • Update translations
    Source code(tar.gz)
    Source code(zip)
  • 1.28.1(Oct 6, 2021)

  • 1.28(Apr 28, 2020)

  • 1.27.1(Apr 10, 2020)

  • 1.27(Aug 9, 2019)

    • New app icon, as full-color and symbolic SVGs (#16)
    • Use the reverse domain name "io.otsaloma.nfoview" for desktop file, appdata file and icons
    Source code(tar.gz)
    Source code(zip)
  • 1.26.1(Jun 8, 2019)

  • 1.26(Dec 16, 2018)

  • 1.25(Dec 12, 2018)

    • Add support for building a Flatpak
    • Add 64x64 and 128x128 icons
    • Update AppData XML file
    • Fix build reproducibility (#15)
    • Update translations
    Source code(tar.gz)
    Source code(zip)
  • 1.24(Apr 22, 2018)

  • 1.23(Nov 6, 2017)

  • 1.22(Mar 17, 2017)

    • Fix window height calculation if line-spacing non-zero
    • Fix color scheme names not translated (#10)
    • Add Brazilian Portuguese translation (Ricardo Borges Jr.)
    • Add Romanian translation (Nicolae Crefelean)
    • Remove severely incomplete Swiss German, Italian and Simplified Chinese translations
    • Update translations
    Source code(tar.gz)
    Source code(zip)
    nfoview-1.22-win32.exe(11.84 MB)
  • 1.21(Oct 29, 2016)

  • 1.20(Jul 23, 2016)

  • 1.19(May 12, 2016)

    • Fix mouse cursor and links with GTK+ 3.20
    • Use CSS for setting custom font and colors, fix selection color with GTK+ 3.20 (#2, #4)
    • Fix default window size calculations to work better with GTK+ 3.20
    • Don't use deprecated Gdk.Cursor.new
    • Update preferences dialog GtkBuilder file with Glade 3.20
    • Remove shadow from around the text view
    • Add top and bottom margins to the text view
    • Move web pages to http://otsaloma.io/nfoview/
    • Move bugs from GNOME Bugzilla to GitHub
    • Update AppData file
    • Update translations
    Source code(tar.gz)
    Source code(zip)
  • 1.18(Jan 23, 2016)

  • 1.17(Oct 11, 2015)

  • 1.16(May 7, 2015)

    • Use a header bar and a menu button in application windows
    • Use a header bar for the preferences dialog
    • Migrate from deprecated Gtk.UIManager, Gtk.Action etc. to Gtk.Application, Gio.Action etc.
    • New application icon
    • Use markdown for documentation files (README etc.)
    • Bump GTK+ depedency to version 3.12
    • Add European Portuguese translation (Pedro Albuquerque)
    • Update Polish translation (Piotr Drąg)
    • Move web pages from gna.org to github.io
    • Move releases from gna.org to github.com
    • Use Transifex to manage translations
    • Close nfoview-list mailing list, use gitter.im instead to reach developers
    • Close nfoview-announcements mailing list, use RSS instead to be informed about new releases (see also e.g. sibbell.com)
    Source code(tar.gz)
    Source code(zip)
  • 1.15.1(Apr 6, 2015)

  • 1.15(Apr 6, 2015)

    • Fix preferences dialog padding with GTK+ 3.14
    • Fix selection background color with GTK+ 3.14
    • Remove use of deprecated stock items, GtkAlignment and gi.types.Boxed.__init__
    • Update French translation
    • Update Turkish translation
    Source code(tar.gz)
    Source code(zip)
  • 1.14(Apr 6, 2015)

    • Fix default response buttons for dialogs
    • Make AppData file translatable
    • Add GTK+ to list of dependencies in the README file (GTK+ has always been a dependency, its explicit mention was just forgotten when migrating from PyGTK to PyGObject)
    • Bump GTK+ dependency to 3.2 or greater
    Source code(tar.gz)
    Source code(zip)
  • 1.13.1(Apr 6, 2015)

    • Possibly fix default colors with some GTK+ themes
    • Add an AppData XML file
      • http://people.freedesktop.org/~hughsient/appdata/
    • Update French translation
    • Update Turkish translation
    Source code(tar.gz)
    Source code(zip)
  • 1.13(Apr 6, 2015)

    • Add action to export document as an image file (#622078)
    • Apply GNOME Goal: Add keywords to application desktop files
      • https://wiki.gnome.org/GnomeGoals/DesktopFileKeywords
    • Update Turkish translation
    Source code(tar.gz)
    Source code(zip)
  • 1.12.1(Apr 6, 2015)

  • 1.12(Apr 6, 2015)

  • 1.11(Apr 6, 2015)

    • Fix immediate crash resulting from bad use of Gtk.StyleContext on newer versions of PyGObject and/or GTK+ (#687513)
    • Remove deprecated get_data and set_data calls
    • Use Gtk.Grid for preferences dialog instead of Gtk.Table
    • Release source tarballs only compressed as tar.xz (instead of the previous tar.gz and tar.bz2)
    Source code(tar.gz)
    Source code(zip)
  • 1.10(Apr 6, 2015)

    • Migrate to Python 3, GTK+ 3, GNOME 3 and PyGI
    • Bump Python dependency to 3.2 or greater
    • Replace PyGTK dependency with PyGobject 3.0.0 or greater
    • Add 48x48 and 256x256 pixel PNG icons and remove SVG icon
    • Speed up text parsing and display when opening files
    • Update Bulgarian translation (Svetoslav Stefanov)
    Source code(tar.gz)
    Source code(zip)
  • 1.9.5(Apr 6, 2015)

  • 1.9.4(Apr 6, 2015)

  • 1.9.3(Apr 6, 2015)

    • Update author email address
    • Move development repository from Gitorious to GitHub (https://github.com/otsaloma/nfoview)
    • Abandon use of Transifex for translations
    • Add Turkish translation (Anonymous)
    • Add Serbian translation (Goran Velemirov)
    • Update French translation (Anonymous)
    Source code(tar.gz)
    Source code(zip)
  • 1.9.2(Apr 6, 2015)

Github Star Tracking app with Streamlit

github-star-tracking-python-app Github Star Tracking app with Streamlit #8daysofstreamlit How to run it locally? Clone or Download & Unzip the Repo En

amrrs 4 Sep 22, 2022
Automated moth pictures for biodiversity research

Automated moth pictures for biodiversity research

Ludwig Kürzinger 1 Dec 16, 2021
This directory gathers the tools developed by the Data Sourcing Working Group

BigScience Data Sourcing Code This directory gathers the tools developed by the Data Sourcing Working Group First Sourcing Sprint: October 2021 The co

BigScience Workshop 27 Nov 04, 2022
Ronin - Create Fud Meterpreter Payload To Hack Windows 11

Ronin - Create Fud Meterpreter Payload To Hack Windows 11

Dj4w3d H4mm4di 6 May 09, 2022
List of short Codeforces problems with a statement of 1000 characters or less. Python script and data files included.

Shortest problems on Codeforces List of Codeforces problems with a short problem statement of 1000 characters or less. Sorted for each rating level. B

32 Dec 24, 2022
An awesome script to convert the University Of Oviedo web calendar to Google or Outlook calendars.

autoUniCalendar Un script en Python para convertir el calendario de la intranet de la Universidad de Oviedo en un calendario de Outlook o Google Calen

Bimo99B9 14 Sep 28, 2022
A Blender addon to align the origin to the top, center or bottom of a mesh object

Align Origin Blender Addon. Align Origin Blender Addon. What? This simple addon lets you align the origin to the top, center or bottom of a mesh objec

VA79 7 Nov 30, 2022
Pre-commit hook for upgrading type hints

This is a pre-commit hook configured to automatically upgrade your type hints to the new native types implemented in PEP 585.

snok 54 Nov 14, 2022
Fastest Semantle solver this side of the Mississippi

semantle Fastest Semantle solver this side of the Mississippi. Roughly 3 average turns to win Measured against (part of) the word2vec-google-news-300

Frank Odom 8 Dec 26, 2022
A collection of useful functions for writers to analyze text/stories.

AuthorTools AuthorTools provides a multitude of functions for easily analyzing (your?) writing. AuthorTools is made especially for creative writers wi

1 Jan 14, 2022
Module 2's katas from Launch X's python introduction course.

Module2Katas Module 2's katas from Launch X's python introduction course. Virtual environment creation process (on Windows): Create a folder in any de

Javier Méndez 1 Feb 10, 2022
A Python package that provides astronomical constants.

AstroConst A Python package that provides astronomical constants. The code is being developed by Marc van der Sluys of the department of Astrophysics

Marc van der Sluys 1 Jan 10, 2022
A VirtualBox manager with interactive mode

A VirtualBox manager with interactive mode

Luis Gerardo 1 Nov 21, 2021
JD-backup is an advanced Python script, that will extract all links from a jDownloader 2 file list and export them to a text file.

JD-backup is an advanced Python script, that will extract all links from a jDownloader 2 file list and export them to a text file.

Kraken.snv 3 Jun 07, 2022
GWAS summary statistics files QC tool

SSrehab dependencies: python 3.8+ a GNU/Linux with bash v4 or 5. python packages in requirements.txt bcftools (only for prepare_dbSNPs) gz-sort (only

21 Nov 02, 2022
PyToQlik is a library that allows you to integrate Qlik Desktop with Jupyter notebooks

PyToQlik is a library that allows you to integrate Qlik Desktop with Jupyter notebooks. With it you can: Open and edit a Qlik app inside a Ju

BIX Tecnologia 16 Sep 09, 2022
Node editor view image node

A Blender addon to quickly view images from image nodes in Blender's image viewer.

5 Nov 27, 2022
poetry2nix turns Poetry projects into Nix derivations without the need to actually write Nix expressions

poetry2nix poetry2nix turns Poetry projects into Nix derivations without the need to actually write Nix expressions. It does so by parsing pyproject.t

Nix community projects 405 Dec 29, 2022
Process RunGap output file of a workout and load data into Apple Numbers Spreadsheet and my website with API calls

BSD 3-Clause License Copyright (c) 2020, Mike Bromberek All rights reserved. ProcessWorkout Exercise data is exported in JSON format to iCloud using

Mike Bromberek 1 Jan 03, 2022
These are the scripts used for the project of ‘Assembly of a pan-genome for global cattle reveals missing sequence and novel structural variation, providing new insights into their diversity and evolution history’

script-SV-genotyping These are the scripts used for the project of ‘Assembly of a pan-genome for global cattle reveals missing sequence and novel stru

2 Aug 26, 2022