-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kuga
committed
Sep 10, 2024
0 parents
commit 6dfa18d
Showing
15 changed files
with
812 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Chat Room | ||
========= | ||
|
||
Terminal-style chat room created by Cursor. | ||
|
||
 | ||
|
||
Live Demo | ||
--------- | ||
|
||
[http://8.138.36.150/chatroom](http://8.138.36.150/chatroom) | ||
|
||
Features | ||
-------- | ||
|
||
- [x] Random ONEPIECE Characters. | ||
- [x] Multi-line messages. | ||
- [x] Copy messages. | ||
- [x] Resize chat area. | ||
|
||
Running | ||
------- | ||
|
||
``` | ||
go run main.go | ||
``` | ||
|
||
Open `index.html` in browser. | ||
|
||
Den Den Mushi | ||
--------- | ||
|
||
| Luffy | Zoro | Nami | | ||
|:------------------------:|:----------------------:|:----------------------:| | ||
|  |  |  | | ||
|
||
| Usopp | Sanji | Chopper | | ||
|:------------------------:|:-----------------------:|:-------------------------:| | ||
|  |  |  | | ||
|
||
| Robin | Franky | Brook | | ||
|:------------------------:|:------------------------:|:-----------------------:| | ||
|  |  |  | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module chatroom | ||
|
||
go 1.22.2 | ||
|
||
require github.com/gorilla/websocket v1.5.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= | ||
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.