![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
github.com/sparques/framebuffer
Note: This is work in progress. Use at your own risk.
This library allows a Go application to draw arbitrary graphics to the Linux Framebuffer. This allows one to create graphical applications without the need for a monolithic display manager like X.
This is a pure Go implementation.
Because the framebuffer offers direct access to a chunk of memory mapped pixel data, it is strongly advised to keep all actual drawing operations confined to the thread that initialized the framebuffer.
The framebuffer is usually initialized to a specific display mode by the
kernel itself. While this library supplies the means to alter the current
display mode, this may not always have any effect as a driver can
choose to ignore your requested values. Besides that, it is generally
considered safer to use the external fbset
command for this purpose.
Video modes for the framebuffer require very precise timing values to
be supplied along with any desired resolution. Doing this incorrectly
can damage the display.
fbset
comes with a set of default modes which are stored in the file
/etc/fb.modes
. We read this file and extract the set of
video modes from it. These modes each have a name by which they can
be identified. When supplying a new mode to this package, it should
come in the form of this name. For example: "1600x1200-76"
.
New video modes can be added to the /etc/fb.modes
file.
The framebuffer obscures the terminal, so any debug or error data
written to stdout
and/or stderr
, will not be visible while it
is running. To get access to this data, pipe their outputs to a file:
./myapp 1> stdout.log 2>error.log
Running a program which writes to the Framebuffer, may fail with
a permission error. This is likely because your current user is not
part of the video
group. Add the user to this group and all should
be well.
This library draws directly the raw framebuffer. This means that it may interfere with other applications doing the same thing. This includes X, if it is running. While we take every effort to appropriately handle switching between the various applications, this should always be kept in mind.
There may be ioctl errors when trying to run a program in a terminal emulator. This happens because the API requires a real tty. Ideally this should be fixed at some point.
go get github.com/jteeuwen/framebuffer
Unless otherwise stated, all of the work in this project is subject to a 1-clause BSD license. Its contents can be found in the enclosed LICENSE file.
FAQs
Unknown package
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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.