tis-nextchat icon

NextChat

Silent install package for NextChat

2.15.8-5

  • package: tis-nextchat
  • name: NextChat
  • version: 2.15.8-5
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: NextChat
  • architecture: x64
  • signature_date:
  • size: 6.90 Mo
  • installed_size: 11.71 Mo
  • homepage : https://nextchat.dev/

package           : tis-nextchat
version           : 2.15.8-5
architecture      : x64
section           : base
priority          : optional
name              : NextChat
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : NextChat, previously known as ChatGPT Next Web, is a chatbot application that enables users to access advanced AI models from OpenAI and Google AI
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 11707436
impacted_process  : NextChat
description_fr    : ChatGPT Next Web, désormais connu sous le nom de NextChat, est une application de chatbot qui permet aux utilisateurs d'accéder à des modèles d'IA avancés provenant d'OpenAI et de Google AI
description_pl    : ChatGPT Next Web, obecnie znany jako NextChat, to aplikacja chatbot, która umożliwia użytkownikom dostęp do zaawansowanych modeli AI z OpenAI i Google AI
description_de    : ChatGPT Next Web, jetzt bekannt als NextChat, ist eine Chatbot-Anwendung, die Nutzern den Zugang zu fortgeschrittenen KI-Modellen von OpenAI und Google AI ermöglicht
description_es    : ChatGPT Next Web, ahora conocido como NextChat, es una aplicación de chatbot que permite a los usuarios acceder a modelos avanzados de IA de OpenAI y Google AI
description_pt    : ChatGPT Next Web, agora conhecido como NextChat, é uma aplicação chatbot que permite aos utilizadores aceder a modelos avançados de IA da OpenAI e da Google AI
description_it    : ChatGPT Next Web, ora noto come NextChat, è un'applicazione di chatbot che consente agli utenti di accedere a modelli avanzati di intelligenza artificiale di OpenAI e Google AI
description_nl    : ChatGPT Next Web, nu bekend als NextChat, is een chatbot-applicatie die gebruikers toegang geeft tot geavanceerde AI-modellen van OpenAI en Google AI
description_ru    : ChatGPT Next Web, теперь известный как NextChat, - это приложение-чатбот, которое позволяет пользователям получить доступ к передовым моделям искусственного интеллекта от OpenAI и Google AI
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://nextchat.dev/
package_uuid      : 55189f27-7319-49d8-a578-1ca0cdd65dba
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : f7b9a8e01d26f3bd892403e751af01cf816961d703653245f184e240a0f40681
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-18T12:01:08.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : ujl0rkpb6PEmEFinrzPaDj7EcqDDgirdxPrEAzDy368QbRMiyzTKnMIReEAH+f2hnIzO8RUqOpQsdv5Qx567jdJ3HSMi/3fmCQVM+RGcMBUOCepK4MnD2hSXnhSSHMT0O5oiB0v84tFOYYg5MQjQXhpWYpXoGvA6H1LIgDQ7dUV9KkA2DNNAAp5MNf3Umi6kXh+k85qgyxEr0LXMBmJm7dMAwwuGov2QkgtKMutdtMECMYVFvZFHfaWrScawfXUxGulzi/7C+QY8rnmUbhM420IksKCiYhee895+saSet4nCrtKWI58gl6snEzuhzOgR1LoaSPbIhmWCY4EphWGICA==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("NextChat_*_x64_en-US.msi")[0]
    install_msi_if_needed(
        bin_name,
        name='^NextChat$',
        min_version=control.get_software_version()
    )

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    app_name = control.name
    
    update_dict = {"windows": ".msi"}
    api_url = "https://api.github.com/repos/ChatGPTNextWeb/ChatGPT-Next-Web/releases"

    # Get data from API
    releases = wgets(api_url, proxies=proxies, as_json=True)

    latest_release = max(
        (release for release in releases if release['assets']),
        key=lambda r: Version(r['tag_name'].strip('v'))
    )

    for asset in latest_release["assets"]:
        if asset["name"].endswith(update_dict[control.target_os]):
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            version = latest_release["tag_name"].strip('v')
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated


ef5e40fb07d74c2216b70a7c3d6008b392f6adcba4ab539fd02287f44a1cae92 : NextChat_2.15.8_x64_en-US.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
162c2631ea145802d8b5f52b4c7d4f710479ea0c66739bfc95eb0c4e42c24221 : WAPT/control
f7b9a8e01d26f3bd892403e751af01cf816961d703653245f184e240a0f40681 : WAPT/icon.png
54305792c513d4c7ee252072295f073c27c5c2563505ce2743098dea84097d11 : luti.json
58e3cca8bb470744ec565546c7fdcbfe69edcf737951430cb3f5c2890dbb4c57 : setup.py
944ef83b287d5050069174f458273e98305bce03726dcd6b3d4a0416a4996419 : update_package.py