Skip to content
/ lmgtfy Public

A beautiful, modern, simple-to-use and single-file LMGTFY website.

License

Notifications You must be signed in to change notification settings

JHubi1/lmgtfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lmgtfy

A beautiful, modern, simple-to-use and single-file LMGTFY website.

sample screenshot

A LMGTFY website generates a short link you can hand out to other people asking dumb questions. When the person clicks the link, a small animation is shown and the user gets redirected to Google (or any other search engine).

Setup

Setting up the LMGTFY page is simple. Just drag the file from /src onto your server.

If you want to host the files in media in another location, change the main variable in the top of /src/index.html to the asset location (without media). So with main = https://example.com/, assets must be hosted on https://example.com/media. This variable changes a few other things as well, like the generated url.

Changing search engine

To change the pages used search engine is straight forward. Open /src/index.html and change the value of searchEngine to a URL. You must also include the query location. To so so, add $1 somewhere in the url; this will get replaced by the given query to search.

About

A beautiful, modern, simple-to-use and single-file LMGTFY website.

Topics

Resources

License

Stars

Watchers

Forks

Languages