This is based on the start page
_traichu
, made by
Tressly
This is a start page for your browser. It is built using React, TypeScript, Tailwind CSS, and Vite. The color palette used is RosΓ© Pine. Fonts used are Inter and Metropolis
Β
- Search: Search the web using Brave Search.
- Bookmarks: Add your favorite websites to the bookmarks section.
- Clock: See the current time in 24-hour format.
- Weather: See the current weather in your city.
- Tilde: Implementation of the Tilde search bar.
Β
npm install
npm run start
npm run build
Β
The search bar uses Brave Search. To change the
search engine, go to src\common\data\search.json
and change the searchEngine
and defaultSearchTemplate
.
The bookmarks are stored in src\common\data\bookmarks.json
. The name
field
is the name of the bookmark, the url
field is the URL of the bookmark, and the
icon
field is the icon of the bookmark. The icon uses DuckDuckGo favicon api.
The weather is fetched from OpenWeather. To make
this work you need to get an API key from OpenWeather and add it to a .env
file in the root of the project. The .env
file should look like this:
VITE_OPENWEATHER_API_KEY=your_api_key
The tilde is a quick way to access websites. To add a website to the tilde, go
to src/common/data/commands.json
and add a new object to the object. The key
of the object is the key you press to access the website, and the value is an
object with the name
, searchTemplate
, searchTemplateParam
, suggestions
and url
fields. The name
field is the name of the website, the
searchTemplate
field is the search template of the website, the
searchTemplateParam
field is the search template parameter of the website, the
suggestions
field is the suggestions of the website, and the url
field is
the URL of the website.
Β
Ultimately you can deploy it however you want, but here's a basic guide on how to do it using Vercel.
- Fork this repository
- Customize it to your liking.
- Create a new project on Vercel.
- Import your forked repository.
- Configure the environment variables in Vercel to match your needs. You need
to set the
VITE_OPEN_WEATHER_API_URL
and theVITE_OPENWEATHER_API_KEY
variable to your own OpenWeather API key for the weather widget to work. - Deploy your project.
Β
This project is licensed under the MIT License - see the LICENSE file
Β
- The logo is an edited version of this image, made by catalyststuff accessed via Freepik.