Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
Master
Browse files Browse the repository at this point in the history
  • Loading branch information
zckyachmd committed Jan 20, 2021
1 parent b274103 commit 3a6fa69
Show file tree
Hide file tree
Showing 2,199 changed files with 325,838 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*]
charset = utf-8

# Tab indentation (no size specified)
indent_style = tab
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/laporkan-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Laporkan Bug
about: Laporkan bug mengenai situs.
title: "[BUG] example.com"
labels: bug
assignees: ''

---

**Deskripsi mengenai bug**
Deskripsikan dengan jelas dan ringkas tentang apa yang terjadi.

**Screenshot**
Jika ada, tambahkan ss untuk membantu menjelaskan mengenai bug.

**Device**
- Browser [cth. Chrome, Firefox]
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.DS_Store

application/cache/*
!application/cache/index.html

application/logs/*
!application/logs/index.html

!application/*/.htaccess

composer.lock

user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*
/vendor/

# IDE Files
#-------------------------
/nbproject/
.idea/*

## Sublime Text cache files
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
/tests/tests/
/tests/results/
4 changes: 4 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Zacky Achmad
Copyright (c) 2020 Zacky Achmad

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
77 changes: 77 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<p align="center">
<a href="https://github.com/zckyachmd/twitter-panel">
<img src="https://raw.githubusercontent.com/zckyachmd/twitter-panel/master/assets/img/twitter-logo.png" width="256px" height="256px" alt="Twitter Logo">
</a>
</p>

<h3 align="center">Twitter BOT | <i>Simple Twitter Autoreply</i></h3>

<p align="center">
<!-- Contributions -->
<a href="https://github.com/zckyachmd/twitter-panel">
<img src="https://img.shields.io/badge/contributions-welcome-orange.svg"
alt="Contributions welcome" />
</a>
<!-- Last Commit -->
<a href="https://github.com/zckyachmd/twitter-panel">
<img src="https://img.shields.io/github/last-commit/zckyachmd/twitter-panel"
alt="Last Commit" />
</a>
<!-- issues -->
<a href="https://github.com/zckyachmd/twitter-panel/issues">
<img src="https://img.shields.io/github/issues/zckyachmd/twitter-panel.svg"
alt="Issues" />
</a>
<!-- Forks Status -->
<a href="https://github.com/zckyachmd/twitter-panel/network/members">
<img src="https://img.shields.io/github/forks/zckyachmd/twitter-panel.svg"
alt="Forks Status" />
</a>
<!-- Size -->
<a href="https://github.com/zckyachmd/twitter-panel">
<img src="https://img.shields.io/github/repo-size/zckyachmd/twitter-panel"
alt="Size" />
</a>
<!-- License -->
<a href="https://github.com/zckyachmd/twitter-panel/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/zckyachmd/twitter-panel.svg"
alt="License MIT" />
</a>
</p>

---

## How to Use

1. Download latest version source code
2. Get Consumer Key & Secret on [apps.twitter.com](https://apps.twitter.com)
3. Configuration Database, Config & Var Constants
4. Ready to use!

## Built Using

- [Bootstrap 4](https://getbootstrap.com/) - CSS Framework
- [Codeigniter 3](https://codeigniter.com/) - PHP Framework
- [TwitterOAuth](https://twitteroauth.com/) - Twitter API Framework
- [MySQL](https://www.mysql.com/) - Database

## Feature <a name = "feature"></a>

- [x] Auto Follow
- [x] Auto Retweet
- [x] Auto Like

## Download

- [Twitter Panel 2.0](https://github.com/zckyachmd/twitter-panel/releases/download/2.0/twitter-panel.zip) - latest version
- [Twitter Panel 1.0](https://github.com/zckyachmd/twitter-panel/releases/download/1.0/twitter-panel.zip) - April 26, 2020

## Bug Report <a name = "bugs"></a>

If you find a bug, kindly open an issue [here](https://github.com/zckyachmd/twitter-panel/issues/new/choose). Thank you

## License <a name = "license"></a>

The MIT License (MIT)

Copyright © 2020 [@zckyachmd](https://github.com/zckyachmd)
63 changes: 63 additions & 0 deletions [db] twitter-panel.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jan 20, 2021 at 06:55 PM
-- Server version: 5.7.24
-- PHP Version: 7.4.13

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `twitter-panel`
--
CREATE DATABASE IF NOT EXISTS `twitter-panel` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `twitter-panel`;

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
`no` int(11) NOT NULL,
`id` varchar(50) NOT NULL,
`username` varchar(15) NOT NULL,
`oauth_token` varchar(50) NOT NULL,
`oauth_token_secret` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`no`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `no` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
6 changes: 6 additions & 0 deletions application/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
11 changes: 11 additions & 0 deletions application/cache/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>

<p>Directory access is forbidden.</p>

</body>
</html>
135 changes: 135 additions & 0 deletions application/config/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
<?php
defined('BASEPATH') or exit('No direct script access allowed');

/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the framework as light-weight as possible only the
| absolute minimal resources are loaded by default. For example,
| the database is not connected to automatically since no assumption
| is made regarding whether you intend to use it. This file lets
| you globally define which systems you would like loaded with every
| request.
|
| -------------------------------------------------------------------
| Instructions
| -------------------------------------------------------------------
|
| These are the things you can load automatically:
|
| 1. Packages
| 2. Libraries
| 3. Drivers
| 4. Helper files
| 5. Custom config files
| 6. Language files
| 7. Models
|
*/

/*
| -------------------------------------------------------------------
| Auto-load Packages
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
*/
$autoload['packages'] = array();

/*
| -------------------------------------------------------------------
| Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in system/libraries/ or your
| application/libraries/ directory, with the addition of the
| 'database' library, which is somewhat of a special case.
|
| Prototype:
|
| $autoload['libraries'] = array('database', 'email', 'session');
|
| You can also supply an alternative library name to be assigned
| in the controller:
|
| $autoload['libraries'] = array('user_agent' => 'ua');
*/
$autoload['libraries'] = array('database', 'session', 'form_validation');

/*
| -------------------------------------------------------------------
| Auto-load Drivers
| -------------------------------------------------------------------
| These classes are located in system/libraries/ or in your
| application/libraries/ directory, but are also placed inside their
| own subdirectory and they extend the CI_Driver_Library class. They
| offer multiple interchangeable driver options.
|
| Prototype:
|
| $autoload['drivers'] = array('cache');
|
| You can also supply an alternative property name to be assigned in
| the controller:
|
| $autoload['drivers'] = array('cache' => 'cch');
|
*/
$autoload['drivers'] = array();

/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['helper'] = array('url', 'file');
*/
$autoload['helper'] = array('url');

/*
| -------------------------------------------------------------------
| Auto-load Config files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['config'] = array('config1', 'config2');
|
| NOTE: This item is intended for use ONLY if you have created custom
| config files. Otherwise, leave it blank.
|
*/
$autoload['config'] = array();

/*
| -------------------------------------------------------------------
| Auto-load Language files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['language'] = array('lang1', 'lang2');
|
| NOTE: Do not include the "_lang" part of your file. For example
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
*/
$autoload['language'] = array();

/*
| -------------------------------------------------------------------
| Auto-load Models
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['model'] = array('first_model', 'second_model');
|
| You can also supply an alternative model name to be assigned
| in the controller:
|
| $autoload['model'] = array('first_model' => 'first');
*/
$autoload['model'] = array();
Loading

0 comments on commit 3a6fa69

Please sign in to comment.