You can customize all the colors and images used in the startpage by changing /config.js accordingingly.
Go to /src/applist.json
.
Suppose you want to add FaceBook
to the list, just add the following snippet to the json. The Link's position depends on the position of the object in the array.
[
...
{
"name": "facebook",
"link": "https://facebook.com",
"icon": "facebook"
},
...
]
All the ions are taken from Simple Icons. You can check the icon name for your added app here.
You can host this startpage on GitHub Pages
, Vercel
, Netlify
or any other platform you may like. Though I would recmmend using vercel if you dont want to waste much time. First of all you will need to create your own fork of this repository and clone it.
- Fork the Repo.
- Clone the fork. Replace
your_username
with your github username here.
git clone -b pages https://github.com/your_username/onigiri.git
- Run it to see if everything looks good and then you can customise it.
cd onigiri
npm install
npm run dev
- Once you have customised it and commited the changes to your fork, run these command in terminal. Replace
your_username
with your github username here.
npm run build
cd dist
git init
git checkout -b main
git add -A
git commit -m 'deploy'
git push -f https://github.com/your-username/onigiri.git main:gh-pages
- Head over to your GitHub Repository Settings.
- Click on the
Pages
tab. - Change publishing branch to
gh-pages
. - Enfore
https
and hit save. It should look like this:
- Now you can see your startpage on
https://your-username.github.io/onigiri/
. - Simply change your browser's home page and new tab page to
https://your-username.github.io/onigiri/
and you are done.
- Fork the Repo.
- Clone the fork. Replace
your_username
with your github username here.
git clone -b main https://github.com/your_username/onigiri.git
- Run it to see if everything looks good and then you can customise it.
cd onigiri
npm install
npm run dev
- Customise the startpage.
- Commit the changes.
git add .
git commit -m 'deploy'
git branch -M main
git push -u origin main
- Create an account on Vercel if you don't already have one.
- Deploy your startpage by choosing the repository.
- Change your home page and new tab page to the link given by vercel.
Create an issue and I'll be glad to help you out!
Contributions are most welcome.
- Consider giving the repo a ⭐ if you liked the project!
- Checkout my other projects!