# Modifier le nombre maximum de caractères dans Onebox - agrandir votre Onebox ?

**URL:** <https://meta.discourse.org/t/change-max-chars-in-onebox-enlarge-your-onebox/81205>\
**Category:** Product Support\
**Created:** [Février 22, 2018, 5:34 UTC](https://meta.discourse.org/t/change-max-chars-in-onebox-enlarge-your-onebox/81205 "2018-02-22T05:34:33Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)\
**Post date:** [Mars 2, 2018, 10:55 UTC](https://meta.discourse.org/t/change-max-chars-in-onebox-enlarge-your-onebox/81205/7 "2018-03-02T10:55:30Z")

</div>

[onebox/lib/onebox/engine/amazon\_onebox.rb at main · discourse/onebox · GitHub](https://github.com/discourse/onebox/blob/master/lib/onebox/engine/amazon_onebox.rb) is correct file to modify.

The best would be to clone the onebox library [GitHub - discourse/onebox: (DEPRECATED) A gem for turning URLs into website previews · GitHub](https://github.com/discourse/onebox) (run `bundle install` inside your onebox directory after cloning).

After that you can change the code and run `bundle exec rake server` to preview changes in the browser on `localhost:9000`

---

_[View the full topic](https://meta.discourse.org/t/change-max-chars-in-onebox-enlarge-your-onebox/81205)._
