Compare commits

..

10 Commits

Author SHA1 Message Date
118803da5d merged changes from typehere master repo 2023-11-24 15:50:36 -06:00
3a86ad2248 Added restart policy to docker compose file 2023-11-24 15:45:14 -06:00
1ddc6dd4d7 Made the readme less professional and more aggressive and then also fixed the formatting 2023-11-18 22:36:39 -06:00
9d90cf14eb Made the readme less professional and more aggressive 2023-11-18 22:34:51 -06:00
b02c5ee782 made the readme less identical to squadrick's 2023-11-18 22:22:38 -06:00
cb2778b6a5 Now there's a docker compose file, as well 2023-11-18 22:19:43 -06:00
aac19b2ce2 Made the dockerfile 2023-11-18 22:15:40 -06:00
dheeraj.reddy
fcca0d1a02 add blog 2023-11-18 18:39:09 -08:00
dheeraj.reddy
5502d07bd7 remove blue cursor 2023-11-18 18:38:11 -08:00
dheeraj.reddy
e079d190e8 update readme 2023-11-18 17:56:58 -08:00
4 changed files with 36 additions and 6 deletions

3
Dockerfile Normal file
View File

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

View File

@@ -1,3 +1,20 @@
### typehere.cc
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).
Clone of the typehere.co which is no longer available.
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.

8
docker-compose.yml Normal file
View File

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

View File

@@ -6,13 +6,16 @@ html, body {
}
#typingCanvas {
width: 100%;
height: 100%;
--padding: 20px;
width: calc(100% - 2 * var(--padding));
height: calc(100% - 2 * var(--padding));
border: none;
outline: none; /* Removes the default focus outline */
background: transparent; /* Makes the textarea background transparent */
margin: 0;
padding: 20px; /* Adds some padding for better text positioning */
padding: var(--padding); /* Adds some padding for better text positioning */
resize: none;
font-family: "Lucida Console", "Courier New", monospace;
font-size: 20px;
@@ -22,6 +25,5 @@ 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 */
}