Code

GitHub Digest #9: The Best Repositories of June 2024

GitHub Digest #9: The Best Repositories of June 2024

Free Python Course ➞ Mini-course for beginners and experienced coders. 4 cool projects in the portfolio, live communication with the speaker. Click through to see what you can learn in the course.

Learn More

In June, we prepared useful tools for web developers, including a practical Python tutorial, a variety of cheat sheets that will come in handy in various situations, a browser-based video editor, and a specialized Ubuntu-based distribution designed for programmers.

Penpot

Penpot is an open-source application designed for collaboration between designers and developers. This tool is similar to Figma, but offers free features that are especially useful for developers. Designers can create interface mockups and app prototypes in Penpot, and the system automatically generates ready-to-use layout code for developers. For example, if a designer uses a complex background gradient, a developer won't have to manually adjust its parameters—all elements can simply be copied and pasted into the project. Penpot streamlines the workflow, facilitating communication between teams and increasing development efficiency.

Penpot is currently available in a web browser, but the project team is actively working on creating a full-fledged desktop application. The platform already offers collaboration features, the ability to create responsive layouts and interactive prototypes. One of the key advantages of Penpot is that it is a free and open-source tool, as well as the ability to deploy the application on your own server. This makes Penpot an ideal choice for designers and developers who seek flexibility and control over their projects.

BlockNote

BlockNote is a text editor that can be easily integrated into a React web application. It offers a wide range of features for formatting text and allows you to add media files such as images, videos, and audio. Thanks to its flexibility and ease of use, BlockNote is ideal for developing modern web applications that require efficient content editing.

You can test the editor on the official website of the project. Screenshot: BlockNote / Skillbox Media

The BlockNote interface resembles modern Block editors like Notion and Obsidian offer developers the ability to edit the interface and create custom blocks. If you plan to integrate BlockNote into your web app, you'll have access to detailed customization of all features, allowing you to tailor the tool to the specific needs of your project. This makes BlockNote a great choice for developers looking to create a unique user experience.

By reading our content, you can deepen your knowledge and broaden your horizons. We offer a variety of materials that will help you better understand the topics you are interested in. Don't miss the opportunity to check out our articles, which contain useful information and relevant tips. Each of our texts is carefully prepared with modern SEO standards in mind, making them more searchable and easier to read. Dive into a world of knowledge and stay with us for fresh updates and new ideas.

React.js for Beginner Programmers: What It Is, How It Works, and What It's For

React.js is a popular JavaScript library designed for building user interfaces. It allows developers to build web applications that respond to data changes without reloading the page. This makes React an ideal tool for creating dynamic and responsive applications.

The core principle of React is the use of components. Components are independent and reusable parts of the interface that can manage their state and display data. This allows developers to break down complex interfaces into simpler, more manageable pieces, making both development and subsequent code maintenance easier.

React.js also uses a virtual DOM, which streamlines the process of updating the user interface. When data changes, React creates a virtual copy of the DOM and compares it with the real one. This minimizes the number of operations with the real DOM and improves application performance.

The library is actively used to create single-page applications (SPAs), where users can interact with content without having to wait for new pages to load. React also supports integration with various libraries and frameworks, making it a versatile development tool.

Using React.js gives developers the ability to create modern and high-quality web applications, making it an essential skill for those new to programming.

Your Journey to Fluent Python

"Your Journey to Python Fluency" is a book written by the CTO and co-founder of Swetrix. The author aimed to create a practical guide that overcomes the shortcomings of traditional theory-focused textbooks. The book features numerous tasks and practical examples reflecting real-world scenarios for Python developers. This makes it an indispensable resource for those looking to improve their programming skills and master Python in practice.

Cover of the book Your Journey to Fluent Python Image: Yehor Dremliuha

What makes this book stand out from others is that the author and a team of like-minded people actively support it. Updates are regularly released, which include additions and bug fixes. Users also have the option of requesting homework review. To do this, create a pull request on GitHub or send the completed work to the Discord chat. This support and interaction makes the learning process more efficient and convenient.

RTranslator

If you're looking for an offline translator for Android, take a look at RTranslator. This app offers three operating modes, making it a convenient and multifunctional translation tool. You can use it in any environment, even without internet access, which is especially useful when traveling or in areas with limited coverage. RTranslator provides high-quality translation and supports many languages, making it an ideal choice for users who need a reliable and effective translator.

  • "Conversation." This requires two smartphones with RTranslator installed. They need to be connected via Bluetooth, and then you can begin communicating in real time as if the other person were speaking your native language. Under the hood, the app records audio, converts it to text, and sends it to your interlocutor's device, where it is translated and spoken.
  • WalkieTalkie. In this mode, you only need a smartphone. It's suitable for short conversations—for example, asking for directions to the subway in a new country. The app records audio and translates both your speech and your interlocutor's words simultaneously.
  • "Classic." A regular translator, similar to the solution of Google or Yandex.
An example of RTranslator in action Image: RTranslator / GitHub

RTranslator offers support for many languages, including English, Arabic, Bulgarian, Vietnamese, Dutch, Greek, Danish, Spanish, Italian, Catalan, Chinese, Korean, German, Polish, Portuguese, Romanian, Russian, Slovak, Tamil, Thai, Turkish, Ukrainian, Urdu, Finnish, French, Croatian, Czech, Swedish, and Japanese. Our platform provides high-quality translation, making it an ideal choice for users who need multilingual support. With RTranslator, you can quickly and easily translate text into the desired language, significantly simplifying communication and access to information in different languages.

CheatSheets

CheatSheets is a comprehensive CSS cheat sheet developed by a specialist from India. In this repository, you will find everything you need to work with CSS, including recommendations for selectors, positioning, as well as Flexbox and Grid. One of the key advantages is the presence of bright illustrations that help to better understand the material. This cheat sheet will be an indispensable assistant for both beginners and experienced developers who want to brush up on their CSS knowledge.

All cheat sheets are presented as visual diagrams. Image: CheatSheets / GitHub

Read also:

Learning Layout with CSS Grid: A Complete Guide

CSS Grid is a powerful tool for creating responsive and effective web pages. In this guide, we will take a detailed look at how to use CSS Grid to build a modern and flexible design. You will learn the basic concepts and principles of working with the grid, as well as get practical tips on applying this method in your projects.

CSS Grid provides a way to easily control the arrangement of elements on a page, allowing you to create complex layouts with minimal time. This layout method is ideal for responsive design, making it indispensable in modern web development.

In this guide, we'll cover key aspects of working with CSS Grid, including creating a basic grid, setting up rows and columns, using fractional units, and automatic placement of elements. You'll also learn how to use media queries to ensure responsiveness in your layouts.

As a result, you'll be able to effectively use CSS Grid to create stylish and functional web pages, significantly improving the quality of your content and the user experience.

CSS Protips

The CSS Protips repository offers advanced tips and tricks for developers who have mastered the basics of CSS. If you're comfortable aligning page elements and changing the color of every button on your site, this guide will be a great resource for deepening your knowledge. By studying CSS Protips, you can improve your skills and enhance the quality of your web projects by mastering more complex CSS techniques and practices. Mastering even a small portion of the information in this repository can significantly improve the quality of your CSS files and simplify the process of styling pages. This material presents useful techniques such as using unset, the :not() and :is() pseudo-classes, as well as recommendations for styling broken images and using :empty to hide empty HTML elements. You'll also learn about an unusual selector known as the "lobotomized owl," which can expand your CSS capabilities.

Jaya File Manager

JayaFM is a file manager developed on the .NET Core platform that supports Windows, macOS, and Linux operating systems. It allows you to conveniently manage not only local files on your computer but also cloud storage services such as Dropbox and Google Drive. One of JayaFM's key features is its plugins, which significantly expand the app's functionality, providing users with additional tools and options for working with files. JayaFM combines ease of use and powerful features, making it an ideal choice for managing files across multiple environments.

Jaya File Manager, light theme Image: Jaya / GitHub

YAKD — Yet Another Key Displayer

If you create programming video tutorials or record screencasts for your colleagues, you should consider the YAKD app. This useful tool displays the names of the keys you press on the screen. This allows viewers to easily track the combinations you're using, significantly improving the learning process. Using YAKD improves the quality of your videos, allowing you to focus on the content rather than on the sound of each keystroke.

The product's core features are designed to enable efficient task execution, increase productivity, and improve user experience. It offers a user-friendly interface that allows users to navigate the system easily. Key aspects include process automation, integration with other tools, and customization. These features are designed to streamline workflows and minimize time spent. As a result, users can focus on more important tasks, which helps achieve goals and improve work results.

  • capture keyboard and mouse clicks;
  • display keys in a window or show them in full-screen applications;
  • change font, text size, key color, and background;
  • automatic saving of all style settings;
  • capture the application window in OBS for streaming.

Omniclip

Omniclip is an open-source browser-based video editor offering basic video editing features. With Omniclip, you can trim source footage, add additional media files, and create full-fledged videos. The platform supports rendering projects in various resolutions, including 4K, allowing you to achieve high-quality results. Use Omniclip for quick and easy video editing right in your browser.

The application is still actively being developed, and therefore, some features may be unstable. In the future, the project's author plans to implement visual effects and audio editing. These updates are aimed at improving the user experience and expanding the functionality of the application.

Omniclip video editor interface Image: Omniclip / GitHub

Inclusive Dates

Inclusive Dates is a convenient utility for selecting dates using natural language. You no longer need to search for the desired date in a pop-up calendar. Instead, simply enter “the day after tomorrow” or “in 10 days” in the field, and the utility will automatically detect the appropriate date. This significantly simplifies the process of selecting a date, making it more intuitive and faster.

The utility is developed based on the Chrono.js library and is fully adapted for users with disabilities. It includes a voice input function, which greatly simplifies interaction for those who cannot use a keyboard. This makes it an ideal tool for improving accessibility and usability.

Inclusive Dates can be integrated into your website. The utility has a small size of only 45 KB, which can be reduced to 4 KB, provided that the input language used by visitors is known in advance. This allows you to optimize page loading and improve the user experience. Implementing this feature will help make your website more convenient and multifunctional.

Сheat.sh

Cheat.sh is a powerful terminal application that provides access to the most useful repositories of cheat sheets. If you forgot the syntax of a Python function or are not sure how to exit the Vim editor, you can quickly find the information you need right on the command line. This is a tool that significantly simplifies the process of working with code and allows developers to quickly get the necessary data without having to leave the terminal.

The utility has a number of unique features that make it especially useful for users. It offers an intuitive interface, which makes it easy and quick to navigate the functionality. Among the key characteristics, we highlight the high speed of operations, which significantly saves time. In addition, the utility supports various file formats, which provides flexibility in working with data. Users can count on regular updates, which ensures that the software is up-to-date and meets modern requirements. A high level of data security is also an important aspect worth paying attention to. These features make the utility an indispensable tool for efficient work.

  • simple interface;
  • covers 56 programming languages, various database management systems and more than 1000 basic UNIX/Linux commands;
  • can be used offline;
  • returns responses in less than 100 milliseconds;
  • can be integrated with a code editor;
The Cheat.sh utility interface in the terminal. Image: Cheat.sh / GitHub

Rework the text, staying on-topic, and do not add unnecessary elements. Optimize your content for SEO and expand the text if necessary. Avoid emojis and unnecessary characters. Do not use sections such as 1. 2. 3. or *. Please provide plain text only.

7 Useful Command Line Tools for Everyday Use

The command line is a powerful tool that helps users perform various tasks efficiently. Below are seven useful command line tools that can significantly simplify your work.

The first tool is `grep`, which allows you to quickly search for text strings in files. It supports regular expressions, making the search more flexible and accurate.

The second tool is `awk`, designed for processing and analyzing text data. It allows you to easily extract and format data from files, which is especially useful when working with large amounts of information.

The third tool is `sed`, which is used to edit text streams. It allows you to replace, delete, and insert text in files, making it indispensable for automating routine tasks.

The fourth tool is `curl`, which is used to transfer data via various protocols. It can be used to download files, interact with APIs, and check the availability of websites.

The fifth tool is `tmux`, a terminal multiplexer that allows you to run multiple command line sessions in a single window. This is convenient for multitasking and managing remote servers.

The sixth tool is `top`, which provides information about current processes and system resource usage. With this tool, you can monitor performance and identify resource-consuming processes.

The seventh tool is `ssh`, which provides a secure remote connection to other computers. This allows administrators and users to manage remote servers with the highest level of security.

Using these command-line tools will significantly increase your productivity and simplify your daily tasks.

SVG Gobbler

SVG Gobbler is a useful browser extension that allows you to find and interact with SVG files on web pages. With this tool, users can edit vector images, optimize their size, copy, download, or export them in raster formats. The extension is compatible with Firefox and other Chromium-based browsers, making it accessible to a wider audience. SVG Gobbler is the perfect solution for designers and developers looking to simplify their work with vector graphics on the web.

Omakub

Omakub is a Linux distribution based on Ubuntu, specifically designed for developers. Unlike the classic version of Ubuntu, Omakub offers pre-installed tools necessary for working with code and files, and also supports convenient use of hotkeys. This significantly simplifies and speeds up the workflow, since all the necessary utilities are already integrated into the system. Omakub is an ideal choice for programmers who value efficiency and convenience in their work.

Omakub offers an attractive theme that is not only aesthetically pleasing but also comfortable for the eyes during prolonged work. The distribution's developer carefully selected the color palette and fonts, ensuring easy screen reading. This makes Omakub an excellent choice for users who value convenience and style in their interface.

The Omakub operating system offers many advantages, especially for beginners looking to switch to Linux. This distribution provides everything needed for a quick and comfortable start. If you've been planning to learn Linux, Omakub is a great choice thanks to its user-friendly environment and convenient interface.

Omakub interface Image: Omakub

Divide the text into paragraphs for better comprehension and add keywords related to the topic.

Read also:

Linux is a powerful and free operating system based on the Linux kernel developed by Linus Torvalds in 1991. It is highly customizable, stable, and secure, making it popular among both developers and ordinary users. Linux is open-source software, meaning anyone can study, modify, and redistribute it.

There are many Linux distributions, each offering unique features and interfaces. Some of the most well-known include Ubuntu, Fedora, Debian, and CentOS. These distributions vary in complexity, target audience, and pre-installed software, allowing users to choose the most suitable option based on their needs.

Linux is widely used on servers, embedded systems and devices, as well as desktop computers. It supports a variety of software packages and applications, including office suites, graphics editors, and development tools. Thanks to an active community of developers and users, Linux is constantly updated and improved, contributing to its popularity in the tech world.

Because Linux is a free and open-source system, it provides users with the option to avoid licensing fees, making it accessible to a wide range of users and organizations. It also helps spread programming knowledge and skills, as many learning materials and resources are available online.

In conclusion, Linux is more than just an operating system; it is an entire ecosystem offering users freedom of choice, customization options, and community support. If you are looking for reliable and secure software for your needs, Linux can be an excellent choice.

Knip

As projects develop, unused files, libraries, and dependencies inevitably accumulate. This creates clutter in the codebase and complicates further work. If you develop in JavaScript or TypeScript and encounter a similar problem, use the Knip utility. This tool is designed to automatically remove unnecessary elements in your project directory, which will improve the structure of the code and increase its readability. Using Knip will help you streamline your workflow and speed up development, freeing you from unnecessary worries about junk code.

Learn more about coding and its features in our Telegram channel. Subscribe to stay up-to-date with interesting content and updates!

Learn more:

  • GitHub digest #8: The most technical collection
  • GitHub digest #7: Alternative, fun, and pointless
  • GitHub digest #6: Autonomous ChatGPT, regular expressions from scratch, and Ruby on Rails for girls