Project
Reverse Dependencies for rspec
The projects listed here declare rspec as a runtime or development dependency
0.0
# Otto
AsciiDoc-powered static site generator with Jekyll-style conventions: layouts, includes, data files, posts, drafts, permalinks, and custom collections.
## Install
```sh
gem install ottogen
```
Requires Ruby 3.0 or newer.
## Quickstart
```sh
mkdir mysite && cd mysite
otto init
otto build
otto serve
open http://127.0.0.1:8778/
```
For a longer walkthrough including AsciiDoc syntax, see [GUIDE.md](GUIDE.md).
## Commands
| Command | Description |
|---|---|
| `otto init [DIR]` | Scaffold a new site (current dir if omitted) |
| `otto build` | Render the site to `_build/` |
| `otto build --drafts` | Include posts from `_drafts/` |
| `otto watch` | Rebuild on file change |
| `otto serve` | Serve `_build/` on port 8778 |
| `otto generate PAGE` | Create a new page in `pages/` |
| `otto post "Title"` | Create a new dated post in `_posts/` |
| `otto clean` | Delete `_build/` |
| `otto doctor` | Sanity-check project layout |
## Project layout
```
my-site/
├── .otto # marker
├── config.yml # site config
├── assets/ # copied verbatim into _build/
├── pages/ # AsciiDoc pages, output mirrors path
├── _layouts/ # ERB layouts (.html.erb)
├── _includes/ # ERB partials
├── _data/ # YAML/JSON files exposed as site.data.*
├── _posts/ # YYYY-MM-DD-slug.adoc
└── _drafts/ # undated drafts (excluded by default)
```
## Configuration (`config.yml`)
```yaml
title: My Otto Site
description: Things I write
url: https://example.com
baseurl: ""
permalink: /:year/:month/:day/:slug/
collections:
recipes:
output: true
```
`permalink` accepts these tokens: `:year`, `:month`, `:day`, `:slug`, `:title`. Templates ending in `/` produce pretty URLs (`<path>/index.html`).
## Pages and posts
Both support YAML front matter:
```adoc
---
layout: default
title: Hello
tags: [ruby, cli]
---
= Hello
Welcome to {site_title}. This page is at {page_url}.
```
Pages live under `pages/`; posts under `_posts/` with `YYYY-MM-DD-slug.adoc` names. Layouts wrap rendered AsciiDoc; partials in `_includes/` are pulled in via `<%= partial 'header.html' %>`.
## License
MIT
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
A lightweight ORM for Sinatra with PostgreSQL -- longer description
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
This library aims at providing a fully flexible formatter compatible with the
Ougai library. Customization is about colorization and log formatting.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
A simple single-line formatter for Ougai logs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Command-line tool for notes associated by filesystem location.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
look up OUI information /w Chinese translation using MAC addresses
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
Database of Organizationally Unique Identifiers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
unofficial API client of oura-cloud for ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
OurKudos client api gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Choose file versions from a versioned S3 bucket based on a given time.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
A generic interface for sending email, SMS, & push notifications.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Bandwidth API wrapper for Outbox, a generic interface for sending notificatons.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
MSG91 API wrapper for Outbox, a generic interface for sending sms notificatons.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Rails Railtie for sending email, SMS, and push notifications using the Outbox gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Twilio API wrapper for Outbox, a generic interface for sending notificatons.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
A wrapper for the outbrain api.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Safely update your gems
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
Configure and generate environment setup files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Outhad Integrations is a comprehensive Ruby gem designed to facilitate seamless connectivity between various data sources and SaaS platforms.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Configuraiton verification framework.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity