Skip to content

pdxmph/imgup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot of imgup displaying a recently uploaded file.

Up and running

  1. Download
  2. cd imgup
  3. bundle install
  4. edit dot_env
  1. Save dot_env as .env
  2. ruby imgup
  3. visit http://localhost:4567

Idea

Make a little Sinatra environment where you can upload images to the Cloudflare image service and get back snippets for sharing, etc.

Why: Mostly because weblog.lol doesn't have image uploads yet and this seemed like a fun way to make quick image links in the absence of that functionality.

Longer-term: I don't like the way any services handle image sharing at the top so I'd like to make a one-stop "get things into Smugmug and make an Atom feed" tool.

Personal goals

Do OAUTH correctly.

Docs

TODO

  • Get the Smugmug part done. Right now this only puts things in Cloudflare
  • More secure config
  • slugify all the uploads
  • make uploads transient in memory instead of saving them

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published