Skip to content

shourdev/simplyer

Repository files navigation

INFORMATION

I DO NOT UPDATE THIS ANYMORE ! THIS IS JUST A HOBBY PROJECT OF MINE BUT I DO NOT UPDATE IT.

Simplyer

A simple browser.Open source and simple.This browser is made using python.It is very easy to make your own version ! Please read the whole markdown.
Visit our Github
GitHub issues GitHub stars GitHub forks GitHub license

Download version 1.1.1

Normal Installer
Update
We did it bois, we did it we now have a autoupdater which informs you when there is a new update all you have to do is uninstall the current version and the app will download the latest setup and run it so u just have to go through the setup

Download version 1.1.0

Download Normal Installer
Download Portable

Download version 1.0.0

Download Normal Installer
Download Portable

portable

portable version is a version which can be used on a pendrive without installing just download the file move it to your pendrive and your done !

Copy

Fork the repo by clicking on the fork button or using git bash.

git clone https://www.github.com/shourgamer2/simplyer.git

Set it up

cd simplyer
python -m pip install -r requirements.txt
python simplyer.py

Check out Copyright and If you copy

All the packages needed

Install these packages to modify and make your own version of simplyer
Pyinstaller

pip install pyinstaller

PyQtWebEngine

pip install PyQtWebEngine

PyQt5

pip install PyQt5

Or if you want to install all of these without typing them then clone this repo using git and type

cd simplyer

Then type

python -m pip install -r requirements.txt

Modify

Change the deafult search

class MainWindow(QMainWindow):
    def __init__(self):
        super(MainWindow, self).__init__()
        self.browser = QWebEngineView()
        self.browser.setUrl(QUrl('yoursearch.com'))
        self.setCentralWidget(self.browser)
        self.showMaximized()
      

Change the home url

    def navigate_home(self):
      self.browser.setUrl(QUrl('yourwebsite.com'))

Change the app name

app = QApplication(sys.argv)
QApplication.setApplicationName('yourappname')
window = MainWindow()
app.exec_()

Edit the navbar

 # navbar
        navbar = QToolBar()
        self.addToolBar(navbar)

      

        back_btn = QAction('Back', self)
        back_btn.triggered.connect(self.browser.back) # gets back to the previous url
        navbar.addAction(back_btn)

        forward_btn = QAction('Forward', self)
        forward_btn.triggered.connect(self.browser.forward) # moves to the next url
        navbar.addAction(forward_btn)

        reload_btn = QAction('Reload', self)
        reload_btn.triggered.connect(self.browser.reload) # realods the current page
        navbar.addAction(reload_btn)

        home_btn = QAction('Home', self)
        home_btn.triggered.connect(self.navigate_home) # goes to the home 
        navbar.addAction(home_btn)

        self.url_bar = QLineEdit()
        self.url_bar.returnPressed.connect(self.navigate_to_url) # goes to the url
        navbar.addWidget(self.url_bar) 

        self.browser.urlChanged.connect(self.update_url) # updates the url

Edit and add more pages

def navigate_home(self):
        self.browser.setUrl(QUrl('YourHome.com')) #The home

    def navigate_to_url(self):
        url = self.url_bar.text()
        self.browser.setUrl(QUrl(url)) #Used To Update The Url 

    def update_url(self, q):
        self.url_bar.setText(q.toString()) #Used To Update The Url 

AutoUpdater

latestversion = get('https://shourgamer2.tk/simplyer/version.txt').text
download = "https://github.com/shourgamer2/simplyer/releases/download/updater/update.exe"
version = "1.1.1"


filename = 'update.exe'  


if (latestversion.strip() == version):
    print("You are on the latest version")
  
    
else:
    messagebox.showinfo("Version outdated", "This version is outdated ! We have downloaded the latest setup for you all you have to do is uninstall this version and install the latest one which we downloaded and opened for you")
    urllib.request.urlretrieve(download, filename) 
    subprocess.call('update.exe')

If you copy

If you fork this project then please mention my repo in your credits section
Read the whole markdown if you want to make your own version.
Also check out All the packages needed , Modify and Copyright

Virus ?

This is not a virus it is marked as virus because it is made in python and python is not made for pc apps so don't worry it is 100% safe

Support

For support please join my Discord Server

Copyright

© 2022 all rights reserved - Shourjjo Majumder.
Please mention my repo if you copy it.
You can modify this software and publish it but not make it paid.