skeleton
Version, currently 0.2.03 versions
- 0.3.0latestFeb 11, 2021
- 0.2.1not indexedFeb 15, 2023
- 0.2.0not indexedFeb 15, 2023
github.com/Oblivious-Oblivious/skeleton
A very minimal http server api serving as a platform for incremental middleware
Nothing has been indexed for 0.2.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
skeleton:
github: Oblivious-Oblivious/skeleton
version: ~> 0.2.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
Skeleton
A very minimal http server api serving as a platform for incremental middleware.
Installation
-
Add the dependency to your
shard.yml:dependencies: skeleton: github: Oblivious-Oblivious/skeleton -
Run
shards install
Usage
require "skeleton"
# Initialize a server choose what middleware to add
server = Skeleton::Server.new
.add(Skeleton::CORSHandler.new)
.add(Skeleton::RouteHandler.new # Create a route handler for defining sinatra-like routes
.get "/" { # Define all basic HTTP method routes with callback blocks
"Hello World" # Return a `Renderable` value
}
)
.bind_tcp("127.0.0.1", 8080) # Bind to an address on a port
.listen; # Blocking listen
### Non blocking version
# spawn { server.listen }
###
Development
Future additions / #TODOs
- Write proper documentation
- Refactor the
RouteHandlerto avoid conditionals and multiple execution paths - Try to follow MVC more tightly
Contributing
- Fork it (https://github.com/Oblivious-Oblivious/skeleton/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
- Oblivious - creator and 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.2.0- Tagged
- Feb 15, 2023
- Commit
c39df78f65dc- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Oblivious-Oblivious/skeleton
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 14, 2026
- Versions
- 3