Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
kuga committed Sep 10, 2024
0 parents commit 6dfa18d
Show file tree
Hide file tree
Showing 15 changed files with 812 additions and 0 deletions.
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Chat Room
=========

Terminal-style chat room created by Cursor.

![Demo](img/demo.png)

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 |
|:------------------------:|:----------------------:|:----------------------:|
| ![Luffy](img/luffy.jpg) | ![Zoro](img/zoro.jpg) | ![Nami](img/nami.jpg) |

| Usopp | Sanji | Chopper |
|:------------------------:|:-----------------------:|:-------------------------:|
| ![Usopp](img/usopp.jpg) | ![Sanji](img/sanji.jpg) | ![Chopper](img/chopper.jpg) |

| Robin | Franky | Brook |
|:------------------------:|:------------------------:|:-----------------------:|
| ![Robin](img/robin.jpg) | ![Franky](img/franky.jpg) | ![Brook](img/brook.jpg) |

5 changes: 5 additions & 0 deletions go.mod
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
2 changes: 2 additions & 0 deletions go.sum
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=
Binary file added img/brook.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/chopper.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/franky.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/luffy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/nami.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/robin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/sanji.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/usopp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/zoro.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6dfa18d

Please sign in to comment.