المشاريع
عرض على GitHub 
vyrx-dev/tarang
حول
Animation library for terminal UIs
التصميم والوسائطالنمو المقاس للنجوم
- خلال 24 ساعة
- جارٍ جمع السجل
- خلال 7 أيام
- جارٍ جمع السجل
- خلال 15 يومًا
- جارٍ جمع السجل
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلtarang
Animation library for terminal UIs

Install
Use Go 1.24 or later. Run this in your Go module.
go get github.com/vyrx-dev/tarang
Quick start
Save this as main.go and run go run . in an ANSI-capable terminal.
package main
import (
"fmt"
"time"
"github.com/vyrx-dev/tarang"
"github.com/vyrx-dev/tarang/effects"
)
func main() {
const step = time.Second / 30
p := tarang.New("Hello, Tarang!", effects.Typewriter(), tarang.FromEnv())
fmt.Print(p.View())
for !p.Done() {
time.Sleep(step)
p.Advance(step)
fmt.Printf("\r%s", p.View())
}
fmt.Println()
}
Showcase
See every effect in an interactive terminal gallery:
cd adapters/bubbletea && go run ./examples/showcase
Documentation
- Getting started walks through the first animation and the frame loop.
- Configuration covers sizing, replay, pacing, and terminal preferences.
- Styling and timing covers colors, easing, and Unicode.
- Host integration shows how to embed Tarang in Bubble Tea v2 or another renderer.
- Recipes covers banners, status text, splash sequences, and custom effects.
- Effects and the API reference list what each package provides.
- Troubleshooting helps diagnose rendering and timing issues.
- Architecture and performance budgets describe rendering and allocation guarantees.
Credits and licenses
TerminalTextEffects inspired many of the visuals. Tarang implements them independently. The easing curves follow Robert Penner's equations.
Tarang is MIT-licensed. See LICENSE and the dependency license notices.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…