Redo gitlab and github, remove translate

This commit is contained in:
Јован Ђокић-Шумарац 2024-02-16 18:44:55 +01:00
parent 3b46e6e127
commit d8fe1bfecb
3 changed files with 20 additions and 13 deletions

2
CNAME
View file

@ -1 +1 @@
tilde.xvvvyz.xyz bulbasaur-sumarac-0170794732a10637d207e362e9dd4e2a90e7039fbff45.gitlab.io

View file

@ -1,13 +1,12 @@
# Tilde # Bulbasaur
Inspired by [r/startpages](https://www.reddit.com/r/startpages)—Tilde is Bubasaur is my fork of [Tilde](https://github.com/xvvvyz/tilde)
the browser homepage for pro web surfers.
## Basic Usage ## Basic Usage
To go to a site, type the corresponding key and press return. e.g: To go to a site, type the corresponding key and press return. e.g:
- `g` will redirect you to [github.com](https://github.com) - `g` will redirect you to [gitlab.com](https://gitlab.com)
To search a site, type a space after the site’s key followed by your To search a site, type a space after the site’s key followed by your
query. e.g: query. e.g:
@ -15,11 +14,6 @@ query. e.g:
- `y kittens` will - `y kittens` will
[search YouTube for kittens](https://www.youtube.com/results?search_query=kittens) [search YouTube for kittens](https://www.youtube.com/results?search_query=kittens)
A DuckDuckGo search will be triggered if your input doesn’t match a key.
e.g:
- `google` will [search DuckDuckGo for google](https://duckduckgo.com/?q=google)
To go to a specific path on a site, type the path after the site’s key. To go to a specific path on a site, type the path after the site’s key.
e.g: e.g:

View file

@ -39,8 +39,22 @@
const COMMANDS = new Map([ const COMMANDS = new Map([
['a', { name: 'Gemini', url: 'https://gemini.google.com/app' }], ['a', { name: 'Gemini', url: 'https://gemini.google.com/app' }],
['h', { name: 'GitHub', url: 'https://github.com/jorrmungandrr' }], [
['g', { name: 'GitLab', url: 'https://gitlab.com/sumarac' }], 'h',
{
name: 'GitHub',
url: 'https://github.com/',
searchTemplate: '/{}'
}
],
[
'g',
{
name: 'GitLab',
url: 'https://gitlab.com/',
searchTemplate: '/{}'
}
],
['k', { name: 'Keep', url: 'https://keep.google.com' }], ['k', { name: 'Keep', url: 'https://keep.google.com' }],
['m', { name: 'Mail', url: 'https://mail.proton.me/u/0/inbox' }], ['m', { name: 'Mail', url: 'https://mail.proton.me/u/0/inbox' }],
[ [
@ -66,7 +80,6 @@
url: 'https://reddit.com', url: 'https://reddit.com',
}, },
], ],
['t', { name: 'Translate', url: 'https://www.deepl.com/translator' }],
[ [
'y', 'y',
{ {