Compare commits

..

No commits in common. "118803da5d4c2a0bc4e3cd0cde8597b367cf4c1c" and "9c166140ca7217dfe291256e3f37272d33afb07f" have entirely different histories.

4 changed files with 6 additions and 36 deletions

View File

@ -1,3 +0,0 @@
FROM nginx:alpine
COPY . /usr/share/nginx/html

View File

@ -1,20 +1,3 @@
A Dockerization of a clone of a web app.
Based on the impeccable work of Squadrick who's work was, in turn, based on the impeccable work of typehere.co
> ### [typehere.cc](https://typehere.cc/)
>
> Clone of [typehere.co](http://typehere.co/) which is no longer available.
>
> It gives you a text canvas where anything you type is stored in the browser's
> local storage. Convenient scratch-pad right from the browser.
>
> Read more about it [here](https://squadrick.dev/journal/typehere.html).
### typehere.cc
Clone the repo and run it. I dare you.
`git clone https://git.toad.city/brad/typehere_docker`
`cd typehere_docker`
`docker compose up -d`
Go to [HostIP]:8585 and type. Type as much as you want. Type as much as you can. Or don't. That's an option as well. I'm not your dad, you figure it out.
Clone of the typehere.co which is no longer available.

View File

@ -1,8 +0,0 @@
version: '3'
services:
typehere:
restart: unless-stopped
build: .
ports:
- "8585:80"

View File

@ -6,16 +6,13 @@ html, body {
}
#typingCanvas {
--padding: 20px;
width: calc(100% - 2 * var(--padding));
height: calc(100% - 2 * var(--padding));
width: 100%;
height: 100%;
border: none;
outline: none; /* Removes the default focus outline */
background: transparent; /* Makes the textarea background transparent */
margin: 0;
padding: var(--padding); /* Adds some padding for better text positioning */
padding: 20px; /* Adds some padding for better text positioning */
resize: none;
font-family: "Lucida Console", "Courier New", monospace;
font-size: 20px;
@ -25,5 +22,6 @@ html, body {
/* Ensuring the cursor is always visible */
#typingCanvas:focus {
outline: none; /* Removes the outline to keep the interface clean */
caret-color: blue; /* Makes the cursor blue for better visibility */
}