pixel,
@pixel@social.pixels.pizza avatar

Recommendation for the most lightweight swift on server framework? Is there anything out there thinner than Hummingbird? #LazyWeb

mattiem,
@mattiem@mastodon.social avatar

@pixel I’m not sure if this qualifies for what you want to do, but AWS API Gateway + Lambda externalizes the entire HTTP server component and your actual code is nearly, though not quite, just a single Swift function per endpoint. It does require a few Apple libraries + that whole AWS thing though

pixel,
@pixel@social.pixels.pizza avatar

@mattiem oh that’s definitely more complex that I need. I’m more looking for url routing and maybe a fastcgi interface, not much else. Hummingbird I think is as close as I can get or write my own.

ctietze,
@ctietze@mastodon.social avatar

@pixel @mattiem that sounds interesting. I've bootstrapped a PHP project for a bare bones API recently with just basic routing, some config/environment variable setting in production, and I knew that this is well-explored territory for decades.

If you find something nice for Swift, I'd be very interested in your discovery :)

mattiem,
@mattiem@mastodon.social avatar

@pixel Yeah I’ve thought about using hummingbird myself. But now that I know how to use AWS it’s hard to move away haha

pixel,
@pixel@social.pixels.pizza avatar

@mattiem I like things as thin as possible, with as few external dependencies as I can. I have a Linode server already, so this project will run on that :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • GTA5RPClips
  • cubers
  • ethstaker
  • normalnudes
  • tacticalgear
  • cisconetworking
  • tester
  • Leos
  • modclub
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines