Giter Club home page Giter Club logo

at_demos's Introduction

The Atsign FoundationThe Atsign Foundation

at_demos

GitHub License OpenSSF Scorecard OpenSSF Best Practices Welcome! We have a collection of demo apps written to help you get a head start on your atPlatform journey. We recommend looking at the apps in the following order:

  1. at_getting_started : Learn the fundamental elements of the atPlatform. Cut your own cryptographic keys with at_activate. Then with at_put to send and at_get to receive asynchronous data. Then move on to near realtime communication with at_send and at_receive.

  2. at_rpc_demo : Sample 'client' and 'server' programs which demonstrate the use of the AtRpc library in the at_client package.

  3. at_notifications: A demo using .notify and .subscribe to send/receive notifications in the atPlatform. Demo uses [at_client] as the core dependency to utilize the atProtocol and [at_onboarding_cli] to authenticate atSigns to their atServers. To begin, follow the steps outlined in the README of at_notifications to get started!

  4. You should also definitely check out the at_talk repo which shows how to build a simple end-to-end encrypted messaging app with the atPlatform.

  5. qt_atsign_plant_demo a demo of using Atsign's technology with Qt's QML in Python to remotely and securely control/monitor a plant from a Qt app involving 2 raspberry pis, 4 sensors, and 1 actuator. Check it out here: qt_atsign_plant_demo

  6. sshnp_raspberrypi_demo: A demo establishing an SSH connection between a Raspberry Pi 4 Model B and a client device without requiring any open ports on the host machine (not even port 22). To begin, follow the steps outlined in the README of sshnp_raspberrypi_demo to get started!

  7. sshnp_docker_demo: A demo to establish an SSH connection between two Docker containers without requiring any open ports on the host machine (not even port 22). To begin, follow the steps outlined in the README of sshnp_docker_demo to get started!

We are super glad that you are beginning your journey as an atDev. We highly recommend that you join our discord dev community for troubleshooting, dev updates, and much more!

at_demos's People

Contributors

anthonyvprakash avatar arkangel12 avatar cconstab avatar cpswan avatar cynthiapeter avatar dependabot[bot] avatar divyayadavareddy avatar drecali avatar gkc avatar hamdaanaliquatil avatar helloausrine avatar intiserahmed avatar jeremytubongbanua avatar ksanty avatar murali-shris avatar natt-n avatar nickelskevin avatar nitesh2599 avatar sameeraja-bharathula avatar sameerajab avatar sitaram-kalluri avatar tkmcnierney avatar tylertrott avatar xavierchanth avatar yahu1031 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

at_demos's Issues

Qt Beer Buffer Card

This ticket is to allocate sprint points of completing the Qt Beer demo project

Upgrade the dependencies and get sdk_refactoring_demo app to a working condition

Describe the bug
sdk_refactoring_demo app is not in working condition. We need to upgrade dependencies and issues need to be resolved.

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to the latest dependencies and run the app.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Were you using an @‎application when the bug was found?

  • [e.g. @‎ https://github.com/atsign-foundation/at_demos/tree/sdk_refactoring_demo]

Additional context
Add any other context about the problem here.

`dart analyze` warning on at_data_share

Describe the bug

Analyzing at_data_share...             2.6s

warning • lib/src/util/command_line_parser.dart:11:21 • The operand can't be null, so the condition is always
          'true'. Remove the condition. • unnecessary_null_comparison

Steps to reproduce

  1. First I cd at_data_share
  2. Then I dart pub get
  3. And then dart analyze

Expected behavior

No warnings

Get Started with C Demos

Write demos to help aid the doc site with examples.

  • 1-authentication
  • 2a-create-public-atkey
  • 2b-create-self-atkey
  • 2c-create-shared-atkey
  • 2d-create-atkey-with-metadata
  • 3a-put-public-key
  • 3b-put-self-atkey
  • 3c-put-shared-atkey
  • 3d-get-public-atkey
  • 3e-get-self-atkey
  • 3f-get-shared-atkey
  • 4a-monitor
  • 4b-notify
  • 5a-hooks

Share, Remove feature not working in at_cookbook demo app

Describe the bug
Share recipe and remove recipe is not working as expected in the at_cookbook demo app

To Reproduce
Steps to reproduce the behavior:

  1. First I Installed the at_cookbook demo and paired it with an atsign
  2. Then I Added a dish by clicking the + icon
  3. a. And then selected the newly added dish from my dishes screen and selected the remove option
    b. From the selected dish, select the share option
    c. Enter the atsign to share and click on the Share cuisine.

Expected behavior
If we click on the remove button, The selected dish needs to be removed
If we click on the shared cuisine, The cuisine should be shared with the entered atsign

Screenshots

Screen_Recording_20210824-161005.mp4

Smartphone (please complete the following information):

  • Device: [e.g. iPhone11]
  • OS: [e.g. iOS14.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 59]

Were you using an @‎ application when the bug was found?

  • [e.g. at_cookbook demo app]

Additional context
Add any other context about the problem here.

ReadMe.md -- Add current build/workflow status and license badge

A status badge shows whether a workflow is currently failing or passing. In addition to this, it is important to show our Github BSD 3-clause License badge on all public repositories.

A common place to add the status and license badge is in the README.md at the top alongside the GitHub License.

+ ![example workflow](https://github.com/<OWNER>/<REPOSITORY>/actions/workflows/<WORKFLOW_FILE>/badge.svg)
+ [![GitHub License](https://img.shields.io/badge/license-BSD3-blue.svg)](./LICENSE)

Remove old demos

Is your feature request related to a problem? Please describe.

N/A

Describe the solution you'd like

Remove at_cookbook, at_hello_world

@gkc should we remove at_demo_data?

Describe alternatives you've considered

No response

Additional context

No response

Migrate at_cookbook to at_app app template

Is your feature request related to a problem? Please describe.

I'd like to start work on the at_cookbook sample app in at_app.
In order to do that, I'd like to first convert it to use the at_app base template.
This will make it easier to follow, since we will be using the same boilerplate code for all sample apps.

Describe the solution you'd like
Redo the at_cookbook sample app using the at_app template.

Describe alternatives you've considered
N/A

Additional context
N/A

Update at_demo_data

Update Github documentation for to be unlisted pub.dev package at_demo_data.

Review at_demo_data readme.md, changelog.md and look for standard archetype template updates to make current. Repo will remain active even though it will be unlisted on Pub.dev.

  • Review for current logo
  • Add badging
  • Does text body map to current standard archetype for consistency (dependency on archetype update)
  • Update readme.md
  • Update changelog.md

Updated PulseOximeter Demo (IT EXPO Oct 5th 2022)

The PulseOximeter demo is going to be used for IoT Expo and needs updating!

  • Speed - Needs to be migrated to using 'forText' notifications
  • Needs to be running on latest secondary build (no memory leaks)
  • Apps in store need to be updated (HRO2 app) - Android/IoS/Windows
  • App needs to allow device owner to send results to more than one atSign and with option send all data or some
  • Stretch goal have app add atSigns that people get at the show to see their results on their phone
  • Stretch Goal to update to new onboarding widget (v5.0.0.1)
  • Get hardware working and reliably!
  • Get SIM in place and working - stretch goal with IoTSafe

Enhancements

  • History of readings over time
  • Change Recipients and Data that is Shared

More details here:-
https://docs.google.com/document/d/1YIb1gd89Ka169lAOTNnr4YeXWbGPZIcdA5rz4pKYXFk/edit#heading=h.a4jfrgebwgg5

Update Readme - at_demo_data

Review at_demo_data readme package version (example the package version is 2.0.3, but the readme description says - dependencies: at_lookup: ^1.0.0)

  • Action: remove this section from README and maybe add any other relevant information. We can remove the entire Installation section from README.
  • Missing @ sign logo @cpswan

Normalized virtual environment emojis

  • Started a PR to normalize all of the emojis in demo data #191
  • Want to be careful about getting this change implemented as I don't want to break any tests which might depend on the ve.

replace at_demo_data keys with json format in atKeys file

Is your feature request related to a problem? Please describe.
Currently keys in at_demo_data are unencrypted which is different from the format in .atKeys file(encrypted using self encryption key)

Describe the solution you'd like

  • create json data for demo data keys similar to .atKeys format
  • create.atKeys file for demo data users so apps testing using demo atsigns can use the .atKeys file

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Issues in the at_chats demo app

Describe the bug
Messages were being delivered as expected for a while. But after some time the messages were not being delivered to the receiver atsign. Once I restart the app, All the previous messages were delivered again

To Reproduce
Steps to reproduce the behavior:

  1. First I installed the at_chat demo app in as atsign A and atsign B in 2 devices
  2. Then send message from atsign A to atsign B
  3. And then checked the chat history in the atsign B

Expected behavior
All the chats should be displayed

Screenshots

chatIssues.mp4

If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone11]
  • OS: [e.g. iOS14.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 59]

Were you using an @‎application when the bug was found?

  • [e.g. @‎ chat]

Additional context
Attaching the app logs
chatDemoApp_logs.docx

Security Policy violation Binary Artifacts

This issue was automatically created by Allstar.

Security Policy Violation
Project is out of compliance with Binary Artifacts policy: binaries present in source code

Rule Description
Binary Artifacts are an increased security risk in your repository. Binary artifacts cannot be reviewed, allowing the introduction of possibly obsolete or maliciously subverted executables. For more information see the Security Scorecards Documentation for Binary Artifacts.

Remediation Steps
To remediate, remove the generated executable artifacts from the repository.

Artifacts Found

  • at_chats/android/gradle/wrapper/gradle-wrapper.jar

Additional Information
This policy is drawn from Security Scorecards, which is a tool that scores a project's adherence to security best practices. You may wish to run a Scorecards scan directly on this repository for more details.


This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

Move new demos into this repo

Is your feature request related to a problem? Please describe.

N/A

Describe the solution you'd like

  • Create a packages folder
  • Move at_lorawan into the folder
  • Move at_talk into the folder

Describe alternatives you've considered

No response

Additional context

@JeremyTubongbanua I know you are doing some work in this repo, so keep in mind that we will introduce a packages/ folder...

Although should we call it packages?
One one hand it doesn't really make sense... they aren't going to be published packages.
On the other, we should be consistent with the other repos.
@gkc @cpswan thoughts?

sshnp_docker_demo has open port 22

The docker demo has open port 22 when you do service start ssh

Can close by adding the following lines to the Dockerfile base image

# "PasswordAuthentication no" in /etc/ssh/sshd_config
RUN sed -E -i 's|^#?(PasswordAuthentication)\s.*|\1 no|' /etc/ssh/sshd_config

# "ListenAddress 127.0.0.1" in /etc/ssh/sshd_config
RUN sed -i 's/#ListenAddress 0.0.0.0/ListenAddress 127.0.0.1/g' /etc/ssh/sshd_config

sshnp between 2 docker containers demo

The demo will actually have 3 docker containers:

  1. sshnp
  2. sshnpd
  3. sshrvd

Demo will involve running the 3 docker containers then sshnp will ssh into sshnpd

sshnp_raspberrypi_demo

Is your feature request related to a problem? Please describe.

Ssh into a raspberry pi without that device having any open ports

Describe the solution you'd like

A step-by-step tutorial/demo

Describe alternatives you've considered

No response

Additional context

No response

Create a file sharing demo using Storj

Is your feature request related to a problem? Please describe.

  • Create demo where sender encrypts and uploads file to Storj and receiver downloads the file from StorJ and decrypt

Describe the solution you'd like

  • Generate a symmetric key and encrypt the file using at_client SDK
  • Use uplink tool from StorJ to upload and get shareable file link
  • Share the file link, file encryption key, IV through notification
  • Receiver receives the notification, downloads the file using shared link , decrypt the file using file encryption key and IV

Describe alternatives you've considered

No response

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.