How to Install Tanoshi on nixOS Latest

Tanoshi is an open-source manga reader built with web technologies. In this tutorial, we will guide you through the steps of installing Tanoshi on nixOS Latest.

Prerequisites:

  • A running instance of nixOS Latest.
  • A terminal with a non-root user with sudo privileges.

Installation:

  1. Open your terminal and run the following command to update your nixOS system:

    sudo nix-channel --update && sudo nixos-rebuild switch
    
  2. Install the required dependencies for building and running Tanoshi:

    sudo nix-env -iA nixos.nodejs-16_x
    
  3. Clone the Tanoshi repository:

    git clone https://github.com/faldez/tanoshi.git
    
  4. Navigate to the cloned Tanoshi directory:

    cd tanoshi
    
  5. Build the Tanoshi project with the following command:

    npm install && npm run build
    
  6. Finally, start Tanoshi with the following command:

    npm start
    

Tanoshi should now be up and running on your nixOS Latest instance. You can access it by navigating to http://localhost:3000/ in your web browser.

Conclusion

You have successfully installed Tanoshi on your nixOS Latest instance. Now you can enjoy reading your favorite manga or add manga source plugins to it.