
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
A easy to use, embeddable CMS for Ruby on Rails. Scribo is designed to work with your models and can also render your content inside customer designed layouts.
Scribo is designed to be easy to use and we try to keep it as simple as possible. It's designed to have the least possible impact on your database, we only use two models/tables (Site and Content). It also makes no assumptions about your data models, it does come feature packed though:
The API uses token authorization, the token is obtained by making an sgid from the scribable
.
So for a scribable
model Account
, you could create it as follows:
token = Account.first.to_sgid(for: 'scribo', expires_in: nil).to_s
This token can be used in the below request.
This allows you to import a site (in ZIP format) using an API token.
curl -H 'Authorization: Token {token}' -X POST -F 'files[]=@site.zip' https://endpoint/api/sites/import
Add this line to your application's Gemfile:
gem 'scribo'
Run the installer:
$ bin/rails g scribo:install
In your controller add the following:
render(scribo: current_site, path: '/index', restricted: false, owner: Account.first)
This will look for index
in the current_site
.
bin/rails db:drop bin/rails db:create bin/rails db:migrate
The admin side of Scribo can be accessed here: https://localhost:3000/sites/
Run yarn watch
and you can develop using the above URL.
Bug reports and pull requests are welcome on GitHub at https://gitlab.com/entropydecelerator/scribo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that scribo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.