Skip to content

iPolyomino/awacha

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

awacha

"awacha" is a simple note web application.

You can upload and download text data on the web from the terminal.

Usage

You can POST to any URL after slash of awacha.com/.

If POST to same URL, the saved text will be overwrite.

Example of use

  • You want to copy the configuration file to my new computer
  • You have multiple computers and want to share a (long) URL
  • You want to share text data temporarily

Note

Do not upload sensitive documents. Awacha is a note application that does not require authentication. In other words, anyone can update, view, or delete the note you created.

Example

Create note

$ curl -X POST -d "hello world" awacha.com/helloworld
> Created

You can also send a text file.

# Create a file to send in advance. (e.g., .vimrc)
$ curl -X POST --data-binary @$HOME/.vimrc awacha.com/vimrc
> Created

Get note

$ curl awacha.com/helloworld
> hello world

You can also save the file using the wget command.

$ wget awacha.com/vimrc -o .vimrc
$ cat .vimrc
> syntax on
> set fenc=utf-8
> set nobackup
> set noswapfile

Delete note

$ curl -X DELETE awacha.com/helloworld
> Deleted

Licence

MIT

Copyright

© 2019-2021 Hagi

About

simple note web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published