Compare commits
10 Commits
5502d07bd7
...
db923a64d1
Author | SHA1 | Date | |
---|---|---|---|
db923a64d1 | |||
8a85fb0f6b | |||
118803da5d | |||
3a86ad2248 | |||
1ddc6dd4d7 | |||
9d90cf14eb | |||
b02c5ee782 | |||
cb2778b6a5 | |||
aac19b2ce2 | |||
|
fcca0d1a02 |
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM nginx:alpine
|
||||
COPY . /usr/share/nginx/html
|
||||
|
22
README.md
22
README.md
@ -1,6 +1,20 @@
|
||||
### [typehere.cc](https://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 [typehere.co](http://typehere.co/) which is no longer available.
|
||||
Clone the repo and run it. I dare you.
|
||||
|
||||
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.
|
||||
`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
8
docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: '3'
|
||||
services:
|
||||
typehere_brad:
|
||||
restart: unless-stopped
|
||||
build: .
|
||||
ports:
|
||||
- "8585:80"
|
||||
|
@ -1,8 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>typehere</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<title>We All Die Someday</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css?v=5">
|
||||
</head>
|
||||
<body>
|
||||
<textarea id="typingCanvas" autofocus></textarea>
|
||||
|
20
style.css
20
style.css
@ -2,21 +2,27 @@ html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f0f0f0; /* Slightly off-white background for better visibility */
|
||||
background-color: #002b36;
|
||||
}
|
||||
|
||||
#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-family: "Monaco", sans-serif;
|
||||
font-size: 20px;
|
||||
color: #333; /* Darker text color for better contrast */
|
||||
color: #657b83; /* Darker text color for better contrast */
|
||||
text-rendering: optimizeLegibility;
|
||||
font-smooth: always;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
/* Ensuring the cursor is always visible */
|
||||
|
Loading…
Reference in New Issue
Block a user