@@ -35,7 +35,7 @@ This is a simple counter app that:
3535uv pip install textual aptabase
3636
3737# Run the app
38- uv run main .py
38+ uv run counter .py
3939```
4040
4141#### Using pip
@@ -49,7 +49,7 @@ source venv/bin/activate # On Windows: venv\Scripts\activate
4949pip install textual aptabase
5050
5151# Run the app
52- python main .py
52+ python counter .py
5353```
5454
5555#### Using pyproject.toml
@@ -67,7 +67,7 @@ Before running, you need to set your Aptabase app key:
67671 . Sign up at [ aptabase.com] ( https://aptabase.com/ )
68682 . Create a new app
69693 . Copy your app key (format: ` A-EU-XXXXXXXXXX ` or ` A-US-XXXXXXXXXX ` )
70- 4 . Update the key in ` simple_counter .py` :
70+ 4 . Update the key in ` counter .py` :
7171
7272``` python
7373# Replace with your actual Aptabase app key
@@ -120,7 +120,7 @@ Sent when the app exits.
120120
121121## 🎮 Usage
122122
123- 1 . ** Start the app** : Run ` python simple_counter .py `
123+ 1 . ** Start the app** : Run ` python main .py `
1241242 . ** Click the button** : Press "Click Me!" to increment (or press ` Enter ` when focused)
1251253 . ** Reset** : Click "Reset" to set counter back to zero
1261264 . ** Quit** : Press ` q ` or ` Ctrl+C `
@@ -244,55 +244,31 @@ pip install textual aptabase
244244python --version # Must be 3.11+
245245```
246246
247- ## 📚 Learn More
248-
249- ### Next Steps
250-
251- Once you're comfortable with this simple example, check out:
252-
253- 1 . ** textual_aptabase_demo.py** - Full dashboard with tabs, forms, and real-time stats
254- 2 . ** advanced_patterns.py** - User identification, error tracking, performance monitoring
247+ ### Events don't show
255248
256- ### Resources
249+ Make sure to check the Debug-mode dashboard (not Release-mode)
257250
258- - ** Aptabase** : [ https://aptabase.com/docs ] ( https://aptabase.com/docs )
259- - ** Aptabase Python SDK** : [ https://github.com/aptabase/aptabase-py ] ( https://github.com/aptabase/aptabase-py )
260- - ** Textual** : [ https://textual.textualize.io/ ] ( https://textual.textualize.io/ )
261- - ** Textual Tutorial** : [ https://textual.textualize.io/tutorial/ ] ( https://textual.textualize.io/tutorial/ )
262-
263- ## 🔐 Privacy
251+ ## 📚 Learn More
264252
265- Aptabase is privacy-first analytics:
266- - ✅ No personal data collected
267- - ✅ No IP addresses stored
268- - ✅ No cookies or tracking
269- - ✅ GDPR compliant
270- - ✅ Open source
253+ ## Resources
271254
272- This example only tracks:
273- - Counter values (anonymous)
274- - Button click events
275- - Session duration
276- - App lifecycle events
255+ - [ Aptabase Documentation] ( https://aptabase.com/docs )
256+ - [ Textual Documentation] ( https://textual.textualize.io/ )
257+ - [ Aptabase Python SDK] ( https://github.com/aptabase/aptabase-python )
277258
278- ## 📄 License
259+ ## License
279260
280261MIT License - feel free to use this as a starting point for your own projects!
281262
282- ## 🤝 Contributing
263+ ## Contributing
283264
284- This is a simple example/demo. Feel free to:
285- - Fork and modify
286- - Use in your own projects
287- - Share improvements
265+ This is a demo app. Feel free to fork and modify for your needs!
288266
289- ## ❓ Questions?
267+ ## Questions?
290268
291- - ** Aptabase Support ** : [ https://aptabase.com/ ] ( https://aptabase.com/ )
292- - ** Textual Discord ** : [ https://discord.gg/Enf6Z3qhVr ] ( https://discord.gg/Enf6Z3qhVr )
269+ - Aptabase: [ https://aptabase.com/ ] ( https://aptabase.com/ )
270+ - Textual: [ https://textual.textualize.io/ ] ( https://textual.textualize.io/ )
293271
294272---
295273
296- ** Happy coding!** 🚀
297-
298274Built with ❤️ using [ Textual] ( https://textual.textualize.io/ ) and [ Aptabase] ( https://aptabase.com/ )
0 commit comments