Giter Club home page Giter Club logo

nfoview's Introduction

NFO Viewer

Packages Flathub Chat

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.8, PyGObject ≥ 3.0.0 and GTK ≥ 4.0. You also need a font that supports the kinds of glyphs commonly used in NFO files: Cascadia Mono 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-4.0 \
                 python3 \
                 python3-dev \
                 python3-gi

Then, to install NFO Viewer, run commands

make PREFIX=/usr/local build
sudo make PREFIX=/usr/local install

Windows

Windows installers are no longer built due to bad tooling, bad results, lack of time and lack of motivation. The latest version available for Windows is 1.23.

nfoview's People

Contributors

alessio avatar bmwiedemann avatar csola48 avatar cwickert avatar eson57 avatar jcfp avatar microjo avatar otsaloma avatar piotrdrag avatar yarons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nfoview's Issues

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.

Export .nfo to .svg and .pdf

Hello Osmo! :-)
Could you please add ability to export .nfo's to .svg and .pdf?
If it will be cli & gui, it be much appreciated! :-)
Your app is the best, you know?! ))

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.

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).

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

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()))

Windows

Hello
Can you make a installer for the v1,28 version
THX

nfoview showing raw tags

Hi,

I installed nfoview on Arch and it's still showing the raw tags (just like any other regular text editors).

Is it supposed to display like the following, or perhaps a packaging issue? Thanks!

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?

v2.0.0/v2.0.1 - Flatpak problem

Hi @otsaloma!

I would like to report, that for me on Ubuntu, seems the latest version(s) is not working properly, as the following describes it:

$flatpak run io.otsaloma.nfoview    
Traceback (most recent call last):
  File "/app/bin/nfoview", line 6, in <module>
    import nfoview
ModuleNotFoundError: No module named 'nfoview'

Lot of thanks, if you could turn me into the right direction...

GNOME 42 runtime is no longer supported

Hi,

I'm getting this message when installing nfoview:

The GNOME 42 runtime is no longer supported as of March 21, 2023. Please ask your application developer to migrate to a supported platform.
Info: applications using this runtime:
io.otsaloma.nfoview

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.