https://github.com/basecamp/activestorage-office-previewer
Active Storage previewer for Microsoft Office files based on LibreOffice
https://github.com/basecamp/activestorage-office-previewer
Last synced: 11 months ago
JSON representation
Active Storage previewer for Microsoft Office files based on LibreOffice
- Host: GitHub
- URL: https://github.com/basecamp/activestorage-office-previewer
- Owner: basecamp
- License: mit
- Created: 2019-12-04T12:52:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-16T21:23:34.000Z (about 3 years ago)
- Last Synced: 2025-07-18T05:34:42.211Z (11 months ago)
- Language: Ruby
- Size: 371 KB
- Stars: 83
- Watchers: 10
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Active Storage previewer for Microsoft Office files
Use [LibreOffice](https://www.libreoffice.org/) to generate previews for Microsoft Word documents, Microsoft PowerPoint presentations, and Microsoft Excel spreadsheets in [Active Storage](https://guides.rubyonrails.org/active_storage_overview.html).
## Requirements
* Rails 6.0 or newer
* [LibreOffice](https://www.libreoffice.org/) 6.2 or newer
## Usage
Add the `activestorage-office-previewer` gem to your app’s Gemfile and run `bundle install`:
```ruby
gem "activestorage-office-previewer"
```
Generate previews of Microsoft Office files using Active Storage’s [preview feature](https://guides.rubyonrails.org/active_storage_overview.html#previewing-files).
## License
This gem is released under the terms of the MIT license.
LibreOffice is released under the terms of the [Mozilla Public License, version 2.0](https://www.libreoffice.org/about-us/licenses/).