在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:lolcommits/lolcommits开源软件地址:https://github.com/lolcommits/lolcommits开源编程语言:Ruby 80.6%开源软件介绍:lolcommits
lolcommits takes a snapshot with your webcam every time you git commit code, and archives a lolcat style image with it. Git blame has never been so much fun. By default, the lol images are stored by a Github style short SHA in a
HistoryOriginally created by @mroth in 2011 as a joke project for Hack && Tell, lolcommits has grown considerably since then, and is now primarily maintained by @matthutchinson. Thank you to all of the contributors throughout the years! Sample imagesPlease add your own lolcommit to the People Using Lolcommits page on our wiki! Requirements
InstallationmacOSYou'll need ImageMagick installed. Homebrew makes this easy.
Then install with:
If you're using RVM (or rbenv), you can/should probably omit the sudo, but the default macOS Ruby install usually requires it. Lolcommits v0.8.1 was the last release to support Ruby < 2.0. If you'd like to use older Rubies try:
LinuxInstall these dependencies using your package manager of choice, for example in Ubuntu:
For Ubuntu 14.04 or newer, you need to manually install ffmpeg since it no longer ships with the default Ubuntu sources (downloads here). Then install with:
For more details, see Installing on Linux. Windows - here be dragons!It works, but you'll need some more detailed instructions to get the dependencies installed. See the wiki page for Installing on Windows. UsageEnabling and basic usageWithin any git repository, simply run Follow these
steps
to enable lolcommits across all your repos; using Don't worry about it too much, half the fun of lolcommits is forgetting it's installed! Other commandsOK, if you insist... Since you know about Other handy common commands include NOTE: Any extra arguments you pass with
Will configure capturing of an animated gif (4 secs) after a 5 sec delay in a forked process. See the section below for more capture configuration options. Capture configuration optionslolcommits has some capture options for additional lulz. You can enable these via environment variables like so;
Or they can be set with arguments to the capture command (located in
your repository's
You can configure lolcommit text positions, font styles (type, size, color etc.) or add a transparent overlay to your images. Simply configure the default loltext plugin with this command:
To find out more about styling, read about the loltext options. Use Finally, run VideosYou can tell lolcommits to capture an mp4 video (instead of an image). ffmpeg is required and can be installed like so;
To enable, use the Animated GifsAnimated gifs can take a while to generate (depending on the number of seconds you capture and the capabilities of your machine). To enable, use the NOTE: If both PluginsA growing number of plugins are available, allowing you to transform or share your lolcommits with others. The default plugin simply appends your commit message and sha to the captured image. Others can post to Twitter, Tumblr (and other services), or even translate your commit messages to lolspeak. Check them out on our plugins page. To list all installed plugins use:
Installed plugins can be easily enabled, configured or disabled with the
Interested in developing your own plugin? Follow this simple guide at the Lolcommits Sample Plugin README. TimelapseWatch your face decay while you program, with an animated timelapse gif!
Troubles?Try our trouble-shooting FAQ, or take a read through our wiki. If you think something is broken or missing, please raise a Github issue (and please check if we haven't already addressed it). LicenseThe program is available as open source under the terms of LGPL-3. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论