nekogirls-cr
Version, currently 0.3.01 version
- 0.3.0latestJun 14, 2017
github.com/Cyan101/nekogirls-cr
Nekogirls-cr is a pomf-like website built in Crystal and Kemal
3 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
nekogirls-cr:
github: Cyan101/nekogirls-cr
version: ~> 0.3.0Then run:
shards installshard.yml
- Crystal
0.22.0- License
- MIT
- Author
- Jos Spencer
- Target
nekogirls-crfrom src/nekogirls.cr
Dependencies
Runtime Dependencies
- kemal*github: kemalcr/kemal, branch: master
README
Nekogirls-cr
Nekogirls-cr is a pomf-like website built in Crystal and Kemal, it lets users upload files from a webpage or (it is built for) using programs such as ShareX.
Installation
From the Repo
- Clone the Repo
git clone https://github.com/cyan101/nekogirls-cr.git cd nekogirls-cr- Delete the .git folder
rm -rf .gitand start your own repogit init - Install all the required shards
shards
From the compiled release
- TODO
Using Nginx for file serving/ssl (Example)
server {
listen 80;
expires 30d;
client_max_body_size 20m;
server_name nekogirls.moe;
root /root/nekogirls-rb/public;
access_log /var/log/nginx/nekogirls-rb-access.log;
error_log /var/log/nginx/nekogirls-rb-error.log;
location /pictures/ {
try_files $uri $uri/ =404;
}
location /css/ {
try_files $uri $uri/ =404;
}
location /js/ {
try_files $uri $uri/ =404;
}
location / {
proxy_pass http://localhost:8080;
}
}
- This uses Nginx to serve pictures/css/js and then passes anything else onto nekogirls-cr
client_max_body_size 20m;limits the filesize to 20mb for uploads- (Optional) Setup SSL/HTTPS using this guide
Usage
From the Repo
- Run
crystal src/nekogirls.cr, alternatively use a proccess manager like PM2 to run it in the background
Uploading with ShareX (Example)
- Open ShareX and go to uploaders -> custom uploaders -> import -> from clipboard
- Copy/Paste the following code
{
"Name": "nekogirls.moe",
"RequestType": "POST",
"RequestURL": "https://nekogirls.moe/upload",
"FileFormName": "file_to_upload",
"Arguments": {
"code": "SpecialCodeGoesHere"
},
"ResponseType": "RedirectionURL"
}
- Set the upload types at the bottom
Development List
- Add code comments
- Add "secret" code to limit who can upload
- (Personal) Convert https://Nekogirls.moe to the crystal system (Make frontpage)
Contributing
- Fork it ( https://github.com/cyan101/nekogirls-cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- Cyan101 Jos Spencer - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.3.0- Tagged
- Jun 14, 2017
- Commit
11cd46a1218d- Crystal
0.22.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Cyan101/nekogirls-cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1