Giter Club home page Giter Club logo

tweety's Introduction

Tweety

Tweety, Twitter Tweet Categorizer. Using KMP and Boyer Moore Algorithm that find matching string.

Build Status

Azure Pipelines Github Action Codecov License Scan Codacy
Build Status Docker codecov FOSSA Status Codacy Badge

Demo & Related Projects

About App

Main Screen

This app build with C# (Based Language for Logic in KMP & Boyer Moore Algorithm) and ASP.NET MVC (v0.1), ASP.NET Core MVC (v0.2).

This app using Twitter API, so you must have token key.

Youtube Review (v0.1) : Youtube Link

Development

  • Setup your Twitter API key in Environment

Deployment

  • You can deploy to Azure (read the documentation) to deploy ASP .NET Core MVC (v0.2 or above).

Use Docker

You can use docker-compose.yml and provide environment like this:

CUSTOMER_KEY=...
CUSTOMER_SECRET=...
TOKEN=...
TOKEN_SECRET=...

Created By

  1. Bervianto Leo Pratama
  2. Jeremia Jason Lasiman
  3. M. Az-zahid Adhitya Silparensi

LICENSE

BSD 3-Clause License

BSD 3-Clause License

Copyright (c) 2018, Bervianto Leo Pratama
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

- Neither the name of the copyright holder nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

FOSSA Status

tweety's People

Contributors

berviantoleo avatar codacy-badger avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar fossabot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fossabot

tweety's Issues

Setup Airbrake for your .NET application

Installation

Installation is available by the package repository NuGet. There are a variety of packages, each for different types of .NET apps:

Adding via Package Manager

For .NET 4.5.2 applications and above install the Sharpbrake.Client package available on NuGet via your Package Manager Console:

PM> Install-Package Sharpbrake.Client

Configuration

Before using the library and its notifiers, you must to configure them. In most cases, it is sufficient to configure only one, default, notifier.

(You can find your project API KEY with your project's settings):

var airbrake = new AirbrakeNotifier(new AirbrakeConfig
  {
    ProjectId = "<Your project ID>",
    ProjectKey = "<Your project API KEY>"
  });

There are multiple ways to set your PROJECT_ID and PROJECT_KEY:

  • Setting explicitly:

    var config = new AirbrakeConfig {
      ProjectId = "<Your project ID>",
      ProjectKey = "<Your project API KEY>"
    };
  • Using App.config or Web.config:

    <appSettings>
        <add key="Airbrake.ProjectId" value="<Your project ID>" />
        <add key="Airbrake.ProjectKey" value="<Your project API KEY>" />
    </appSettings>
    var settings = ConfigurationManager.AppSettings.AllKeys
        .Where(key => key.StartsWith("Airbrake", StringComparison.OrdinalIgnoreCase))
        .ToDictionary(key => key, key => ConfigurationManager.AppSettings[key]);
    
    var airbrakeConfiguration = AirbrakeConfig.Load(settings);
  • Using airbrake.json. Use comma-separated values to add more than one
    argument for options that support it:

    {
      "Airbrake": {
        "ProjectId": "<Your project ID>",
        "ProjectKey": "<Your project API KEY>",
      }
    }
    var path = "airbrake.json";
    var configurationBuilder = new ConfigurationBuilder()
        .SetBasePath(System.IO.Directory.GetCurrentDirectory())
        .AddJsonFile(path)
        .Build();
    
    var settings = configurationBuilder.AsEnumerable()
        .Where(setting => setting.Key.StartsWith("Airbrake"))
        .ToDictionary(setting => setting.Key, setting => setting.Value);
    
    var airbrakeConfiguration = AirbrakeConfig.Load(settings);

For a rundown of advanced configuration options and the notifier API provided for .NET/C# apps, please visit our GitHub.

Restructured Code

I think this code have some redundant code and also so ugly structure. I need to restructure and do some arrangement to have a good code and easy to read.

Using Reactive UI (Version 0.4)

I think will good to have reactive UI here. May use React.js or Vue.js for starting this system. The problem is we need changed our submission into API also the return, so this major changes in the system. For this changes, I hope still using our css, not changes to another css.

Task:

  • Create API, commit 9e6df84
  • Page Design (I hope just have two page, 1. Home (Form & Result), 2. About Page)
  • UI Routing Base
  • UI Implementation

Migrate to Database Based

I need to store much data so don't need directly call into twitter. Call into twitter can be done with cron job, this type of migration will be used after account type migration.

  • Keep direct base code in versioning.
  • Authentication
  • Database Model
  • Dto
  • Code Structure
  • Cache Strategy

Dependabot couldn't find a <anything>.(cs|vb|fs)proj for this project

Dependabot couldn't find a .(cs|vb|fs)proj for this project.

Dependabot requires a .(cs|vb|fs)proj to evaluate your project's current .NET dependencies. It had expected to find one at the path: /<anything>.(cs|vb|fs)proj.

If this isn't a .NET project, or if it is a library, you may wish to disable updates for it from within Dependabot.

You can mention @dependabot in the comments below to contact the Dependabot team.

Documentation

Need to write documentation with this application. Maybe also completed Unit Test things.

  • How to Deploy
  • How to Contribute/Extend/...

Additional

  • Unit Test + Documentation

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.