31 lines
870 B
Markdown
31 lines
870 B
Markdown
# yoink
|
|
one part of the hoist/yoink system for transfering files over the gemini
|
|
protocol
|
|
|
|
based on part 7 of
|
|
[this post](https://lists.orbitalfox.eu/archives/gemini/2020/001632.html)
|
|
by solderpunk
|
|
|
|
this system is a PROOF OF CONCEPT and should not be expected to be particularly
|
|
safe, secure, or reliable
|
|
|
|
live version @ gemini://illegaldrugs.net/cgi-bin/yoink
|
|
|
|
## reqirements
|
|
- a gemini server with cgi support
|
|
- [gmni](https://git.sr.ht/~sircmpwn/gmni)
|
|
|
|
## how to use
|
|
- clone this repo
|
|
- create a directory for yoinked files to be hosted
|
|
- by default this is '/var/gemini/yoinkdata'
|
|
- set this directory as $HOME at the top of the yoink.sh file
|
|
- place yoink.sh in your cgi-bin
|
|
- you are done.
|
|
|
|
## notes
|
|
- if gmni is not installed to '/usr/local/bin/gmni' edit the `gmni_path`
|
|
variable to reflect the location of the gmni executeable
|
|
|
|
(c) 2020 oneseveneight/sose
|